mirror of
https://github.com/home-assistant/core
synced 2024-07-21 10:44:07 +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:
|
||||
"""Set the fan level."""
|
||||
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,
|
||||
level,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue