Adds new climate feature flags for airzone_cloud (#109424)

This commit is contained in:
G Johansson 2024-02-03 01:06:53 -05:00 committed by GitHub
parent 8f637d3ca7
commit 0d881dfc12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,8 +144,13 @@ class AirzoneClimate(AirzoneEntity, ClimateEntity):
"""Define an Airzone Cloud climate.""" """Define an Airzone Cloud climate."""
_attr_name = None _attr_name = None
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE _attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
_attr_temperature_unit = UnitOfTemperature.CELSIUS _attr_temperature_unit = UnitOfTemperature.CELSIUS
_enable_turn_on_off_backwards_compatibility = False
@callback @callback
def _handle_coordinator_update(self) -> None: def _handle_coordinator_update(self) -> None: