Xiaomi MIIO: fix typo in error log (#106852)

This commit is contained in:
Stanislas 2024-01-02 12:47:16 +01:00 committed by GitHub
parent 6f339541c6
commit 41646a6514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
)