Add new climate feature flags to izone (#109565)

This commit is contained in:
G Johansson 2024-02-03 20:30:55 -05:00 committed by GitHub
parent 470aef7483
commit a2d574355b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,12 +144,17 @@ class ControllerDevice(ClimateEntity):
_attr_has_entity_name = True
_attr_name = None
_attr_target_temperature_step = 0.5
_enable_turn_on_off_backwards_compatibility = False
def __init__(self, controller: Controller) -> None:
"""Initialise ControllerDevice."""
self._controller = controller
self._attr_supported_features = ClimateEntityFeature.FAN_MODE
self._attr_supported_features = (
ClimateEntityFeature.FAN_MODE
| ClimateEntityFeature.TURN_OFF
| ClimateEntityFeature.TURN_ON
)
# If mode RAS, or mode master with CtrlZone 13 then can set master temperature,
# otherwise the unit determines which zone to use as target. See interface manual p. 8