From 2b265d6e36ccc874a2974ce9bcd1bf69a6e214a2 Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 22 Aug 2024 17:48:24 +0800 Subject: [PATCH] Resgister task --- pytec/pytec/gui/model/thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index e370ba1..96abbeb 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -34,6 +34,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): self._watch_task = None self._report_mode_task = None self._poll_for_report = True + self.task = None super().__init__(parent) async def run(self):