Add new climate feature flags to isy994 (#109564)

This commit is contained in:
G Johansson 2024-02-03 20:10:34 -05:00 committed by GitHub
parent ebf533f0ff
commit dd587d6fe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,9 +82,12 @@ class ISYThermostatEntity(ISYNodeEntity, ClimateEntity):
ClimateEntityFeature.FAN_MODE ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.TARGET_TEMPERATURE
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE | ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
) )
_attr_target_temperature_step = 1.0 _attr_target_temperature_step = 1.0
_attr_fan_modes = [FAN_AUTO, FAN_ON] _attr_fan_modes = [FAN_AUTO, FAN_ON]
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, node: Node, device_info: DeviceInfo | None = None) -> None: def __init__(self, node: Node, device_info: DeviceInfo | None = None) -> None:
"""Initialize the ISY Thermostat entity.""" """Initialize the ISY Thermostat entity."""