From 3f5ae9e333e02d09f8ccf52f1c2354d18f44bca3 Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 9 Jul 2024 12:00:28 +0800 Subject: [PATCH] Fix method call --- pytec/pytec/gui/model/thermostat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 75615a2..87e57f2 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -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())