From db71c6fd4f407e56fbcce74b3602dc2d25d849e5 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 8 Jul 2024 11:20:08 +0800 Subject: [PATCH] fixup! Use thermostat data model --- pytec/pytec/gui/model/thermostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index e68f044..b66136d 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -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()