mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Xiaomi MIIO: fix typo in error log (#106852)
This commit is contained in:
parent
6f339541c6
commit
41646a6514
@ -417,7 +417,7 @@ class XiaomiNumberEntity(XiaomiCoordinatedMiioEntity, NumberEntity):
|
|||||||
async def async_set_fan_level(self, level: int = 1) -> bool:
|
async def async_set_fan_level(self, level: int = 1) -> bool:
|
||||||
"""Set the fan level."""
|
"""Set the fan level."""
|
||||||
return await self._try_command(
|
return await self._try_command(
|
||||||
"Setting the favorite level of the miio device failed.",
|
"Setting the fan level of the miio device failed.",
|
||||||
self._device.set_fan_level,
|
self._device.set_fan_level,
|
||||||
level,
|
level,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user