diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 05b605f..8a887ac 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -25,6 +25,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): self._report_mode_task = None self._poll_for_report = True self.connection_errored = False + self.task = None super().__init__(parent) async def start_session(self, host, port):