mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
parent
a72ce2415b
commit
cbcf832436
@ -1041,7 +1041,7 @@ class XiaomiFanMiot(XiaomiGenericFan):
|
|||||||
self._preset_mode = self.coordinator.data.mode.name
|
self._preset_mode = self.coordinator.data.mode.name
|
||||||
self._oscillating = self.coordinator.data.oscillate
|
self._oscillating = self.coordinator.data.oscillate
|
||||||
if self.coordinator.data.is_on:
|
if self.coordinator.data.is_on:
|
||||||
self._percentage = self.coordinator.data.fan_speed
|
self._percentage = self.coordinator.data.speed
|
||||||
else:
|
else:
|
||||||
self._percentage = 0
|
self._percentage = 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user