Add new climate feature flags to yolink (#109442)
This commit is contained in:
parent
5462badebf
commit
96a3aac78e
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,7 @@ class YoLinkClimateEntity(YoLinkEntity, ClimateEntity):
|
||||||
"""YoLink Climate Entity."""
|
"""YoLink Climate Entity."""
|
||||||
|
|
||||||
_attr_name = None
|
_attr_name = None
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
@ -86,6 +87,8 @@ class YoLinkClimateEntity(YoLinkEntity, ClimateEntity):
|
||||||
ClimateEntityFeature.FAN_MODE
|
ClimateEntityFeature.FAN_MODE
|
||||||
| ClimateEntityFeature.PRESET_MODE
|
| ClimateEntityFeature.PRESET_MODE
|
||||||
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
|
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue