Fix method call

This commit is contained in:
atse 2024-07-09 12:00:28 +08:00
parent 64d7e5cf06
commit d9b9b8d605

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())