mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Improve knx fan implementation (#46404)
This commit is contained in:
parent
fd177441b3
commit
eb0d1bb673
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user