mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add new climate feature flags to lightwave (#109568)
This commit is contained in:
parent
c94eb436fb
commit
470aef7483
@ -47,9 +47,14 @@ class LightwaveTrv(ClimateEntity):
|
|||||||
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF]
|
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF]
|
||||||
_attr_min_temp = DEFAULT_MIN_TEMP
|
_attr_min_temp = DEFAULT_MIN_TEMP
|
||||||
_attr_max_temp = DEFAULT_MAX_TEMP
|
_attr_max_temp = DEFAULT_MAX_TEMP
|
||||||
_attr_supported_features = ClimateEntityFeature.TARGET_TEMPERATURE
|
_attr_supported_features = (
|
||||||
|
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
|
)
|
||||||
_attr_target_temperature_step = 0.5
|
_attr_target_temperature_step = 0.5
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, name, device_id, lwlink, serial):
|
def __init__(self, name, device_id, lwlink, serial):
|
||||||
"""Initialize LightwaveTrv entity."""
|
"""Initialize LightwaveTrv entity."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user