mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add new climate feature flags to yolink (#109442)
This commit is contained in:
parent
5462badebf
commit
96a3aac78e
@ -62,6 +62,7 @@ class YoLinkClimateEntity(YoLinkEntity, ClimateEntity):
|
||||
"""YoLink Climate Entity."""
|
||||
|
||||
_attr_name = None
|
||||
_enable_turn_on_off_backwards_compatibility = False
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
@ -86,6 +87,8 @@ class YoLinkClimateEntity(YoLinkEntity, ClimateEntity):
|
||||
ClimateEntityFeature.FAN_MODE
|
||||
| ClimateEntityFeature.PRESET_MODE
|
||||
| ClimateEntityFeature.TARGET_TEMPERATURE_RANGE
|
||||
| ClimateEntityFeature.TURN_OFF
|
||||
| ClimateEntityFeature.TURN_ON
|
||||
)
|
||||
|
||||
@callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user