Add migrated climate feature flags to xs1 (#109441)

pull/109883/head
G Johansson 2024-02-02 22:40:50 -05:00 committed by Franck Nijhof
parent 6c84e8dff0
commit a671d0bc6c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class XS1ThermostatEntity(XS1DeviceEntity, ClimateEntity):
_attr_hvac_mode = HVACMode.HEAT
_attr_hvac_modes = [HVACMode.HEAT]
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, device, sensor):
"""Initialize the actuator."""