mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix incorrect preset mode in senseme (#64526)
This commit is contained in:
parent
fceeafb5de
commit
6e4f01b2cf
@ -73,7 +73,7 @@ class HASensemeFan(SensemeEntity, FanEntity):
|
||||
else:
|
||||
self._attr_percentage = None
|
||||
whoosh = self._device.fan_whoosh_mode
|
||||
self._attr_preset_mode = whoosh if whoosh else None
|
||||
self._attr_preset_mode = PRESET_MODE_WHOOSH if whoosh else None
|
||||
super()._async_update_attrs()
|
||||
|
||||
async def async_set_percentage(self, percentage: int) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user