fixup! Use thermostat data model

This commit is contained in:
atse 2024-07-08 11:20:08 +08:00
parent 581ce61578
commit db71c6fd4f

View File

@ -128,7 +128,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
self._update_s = update_s
async def set_fan(self, power="auto"):
self._client.set_fan(power)
await self._client.set_fan(power)
async def get_fan(self):
return await self._client.get_fan()