mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add new climate feature flags to hisense (#109552)
Adds new climate feature flags to hisense
This commit is contained in:
parent
5f02d17873
commit
b5055df374
@ -144,6 +144,8 @@ class ClimateAehW4a1(ClimateEntity):
|
|||||||
| ClimateEntityFeature.FAN_MODE
|
| ClimateEntityFeature.FAN_MODE
|
||||||
| ClimateEntityFeature.SWING_MODE
|
| ClimateEntityFeature.SWING_MODE
|
||||||
| ClimateEntityFeature.PRESET_MODE
|
| ClimateEntityFeature.PRESET_MODE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
_attr_fan_modes = FAN_MODES
|
_attr_fan_modes = FAN_MODES
|
||||||
_attr_swing_modes = SWING_MODES
|
_attr_swing_modes = SWING_MODES
|
||||||
@ -152,6 +154,7 @@ class ClimateAehW4a1(ClimateEntity):
|
|||||||
_attr_target_temperature_step = 1
|
_attr_target_temperature_step = 1
|
||||||
_previous_state: HVACMode | str | None = None
|
_previous_state: HVACMode | str | None = None
|
||||||
_on: str | None = None
|
_on: str | None = None
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
def __init__(self, device):
|
def __init__(self, device):
|
||||||
"""Initialize the climate device."""
|
"""Initialize the climate device."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user