mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Set speed service fixed. (#12602)
This commit is contained in:
parent
1af65f8f23
commit
87c69452f9
@ -302,7 +302,7 @@ class XiaomiAirPurifier(FanEntity):
|
||||
|
||||
yield from self._try_command(
|
||||
"Setting operation mode of the air purifier failed.",
|
||||
self._air_purifier.set_mode, OperationMode[speed])
|
||||
self._air_purifier.set_mode, OperationMode(speed))
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_set_buzzer_on(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user