Add new climate feature flags to geniushub (#109549)

Adds new climate feature flags to geniushub
pull/109883/head
G Johansson 2024-02-03 20:23:59 -05:00 committed by Franck Nijhof
parent 384070c158
commit dafdcd369c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 5 additions and 1 deletions

View File

@ -50,8 +50,12 @@ class GeniusClimateZone(GeniusHeatingZone, ClimateEntity):
"""Representation of a Genius Hub climate device.""" """Representation of a Genius Hub climate device."""
_attr_supported_features = ( _attr_supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.PRESET_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
) )
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, broker, zone) -> None: def __init__(self, broker, zone) -> None:
"""Initialize the climate device.""" """Initialize the climate device."""