Fix method call

This commit is contained in:
atse 2024-07-09 12:00:28 +08:00
parent dd850d34c2
commit 3f5ae9e333

View File

@ -73,10 +73,10 @@ class Thermostat(QObject, metaclass=PropertyMeta):
self.postfilter = await self._client.get_postfilter()
def connected(self):
return self._client.connected
return self._client.connected()
def connecting(self):
return self._client.connecting
return self._client.connecting()
def start_watching(self):
self._watch_task = asyncio.create_task(self.run())