forked from M-Labs/thermostat
fixup! Use thermostat data model
This commit is contained in:
parent
581ce61578
commit
db71c6fd4f
@ -128,7 +128,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
|
|||||||
self._update_s = update_s
|
self._update_s = update_s
|
||||||
|
|
||||||
async def set_fan(self, power="auto"):
|
async def set_fan(self, power="auto"):
|
||||||
self._client.set_fan(power)
|
await self._client.set_fan(power)
|
||||||
|
|
||||||
async def get_fan(self):
|
async def get_fan(self):
|
||||||
return await self._client.get_fan()
|
return await self._client.get_fan()
|
||||||
|
Loading…
Reference in New Issue
Block a user