Fix method call

This commit is contained in:
atse 2024-07-09 12:00:28 +08:00
parent 870d10b525
commit 905383428b

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