mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Add new climate feature flags to zhong_hong (#109444)
This commit is contained in:
parent
63f78dece0
commit
bb6051f9c4
@ -128,9 +128,13 @@ class ZhongHongClimate(ClimateEntity):
|
|||||||
]
|
]
|
||||||
_attr_should_poll = False
|
_attr_should_poll = False
|
||||||
_attr_supported_features = (
|
_attr_supported_features = (
|
||||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
|
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
| ClimateEntityFeature.FAN_MODE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, hub, addr_out, addr_in):
|
def __init__(self, hub, addr_out, addr_in):
|
||||||
"""Set up the ZhongHong climate devices."""
|
"""Set up the ZhongHong climate devices."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user