mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Improve knx fan implementation (#46404)
This commit is contained in:
@@ -35,6 +35,8 @@ class KNXFan(KnxEntity, FanEntity):
|
||||
|
||||
if self._device.mode == FanSpeedMode.Step:
|
||||
self._step_range = (1, device.max_step)
|
||||
else:
|
||||
self._step_range = None
|
||||
|
||||
async def async_set_percentage(self, percentage: int) -> None:
|
||||
"""Set the speed of the fan, as a percentage."""
|
||||
|
Reference in New Issue
Block a user