mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix incorrect preset mode in senseme (#64526)
This commit is contained in:
@@ -73,7 +73,7 @@ class HASensemeFan(SensemeEntity, FanEntity):
|
|||||||
else:
|
else:
|
||||||
self._attr_percentage = None
|
self._attr_percentage = None
|
||||||
whoosh = self._device.fan_whoosh_mode
|
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()
|
super()._async_update_attrs()
|
||||||
|
|
||||||
async def async_set_percentage(self, percentage: int) -> None:
|
async def async_set_percentage(self, percentage: int) -> None:
|
||||||
|
Reference in New Issue
Block a user