mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix xiaomi air fresh fan preset modes (#54342)
This commit is contained in:
parent
a54ee7b366
commit
0149095824
@ -1138,6 +1138,7 @@ class XiaomiAirFresh(XiaomiGenericDevice):
|
|||||||
self._speed_list = OPERATION_MODES_AIRFRESH
|
self._speed_list = OPERATION_MODES_AIRFRESH
|
||||||
self._speed_count = 4
|
self._speed_count = 4
|
||||||
self._preset_modes = PRESET_MODES_AIRFRESH
|
self._preset_modes = PRESET_MODES_AIRFRESH
|
||||||
|
self._supported_features = SUPPORT_SET_SPEED | SUPPORT_PRESET_MODE
|
||||||
self._state_attrs.update(
|
self._state_attrs.update(
|
||||||
{attribute: None for attribute in self._available_attributes}
|
{attribute: None for attribute in self._available_attributes}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user