mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 09:05:15 +02:00
Add migrated climate feature flags to xs1 (#109441)
This commit is contained in:
@@ -54,6 +54,7 @@ class XS1ThermostatEntity(XS1DeviceEntity, ClimateEntity):
|
|||||||
_attr_hvac_mode = HVACMode.HEAT
|
_attr_hvac_mode = HVACMode.HEAT
|
||||||
_attr_hvac_modes = [HVACMode.HEAT]
|
_attr_hvac_modes = [HVACMode.HEAT]
|
||||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, device, sensor):
|
def __init__(self, device, sensor):
|
||||||
"""Initialize the actuator."""
|
"""Initialize the actuator."""
|
||||||
|
Reference in New Issue
Block a user