Fix typo in entity name for launchlibrary (#65048)

This commit is contained in:
Simon Hansen 2022-01-27 19:02:10 +01:00 committed by GitHub
parent 30fd902764
commit c5787a5422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ SENSOR_DESCRIPTIONS: tuple[LaunchLibrarySensorEntityDescription, ...] = (
LaunchLibrarySensorEntityDescription( LaunchLibrarySensorEntityDescription(
key="launch_probability", key="launch_probability",
icon="mdi:dice-multiple", icon="mdi:dice-multiple",
name="Launch Probability", name="Launch probability",
native_unit_of_measurement=PERCENTAGE, native_unit_of_measurement=PERCENTAGE,
value_fn=lambda nl: None if nl.probability == -1 else nl.probability, value_fn=lambda nl: None if nl.probability == -1 else nl.probability,
attributes_fn=lambda nl: None, attributes_fn=lambda nl: None,