Adds migrated ClimateEntityFeature to Netatmo (#109418)

This commit is contained in:
G Johansson 2024-02-03 03:56:57 +01:00 committed by GitHub
parent 1fba47fc8e
commit 79bcf60c73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,6 +190,7 @@ class NetatmoThermostat(NetatmoBaseEntity, ClimateEntity):
_attr_supported_features = SUPPORT_FLAGS _attr_supported_features = SUPPORT_FLAGS
_attr_target_temperature_step = PRECISION_HALVES _attr_target_temperature_step = PRECISION_HALVES
_attr_temperature_unit = UnitOfTemperature.CELSIUS _attr_temperature_unit = UnitOfTemperature.CELSIUS
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, netatmo_device: NetatmoRoom) -> None: def __init__(self, netatmo_device: NetatmoRoom) -> None:
"""Initialize the sensor.""" """Initialize the sensor."""