diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 9566a0b..ce6b69a 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -77,8 +77,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): def start_watching(self): self._watch_task = asyncio.create_task(self.run()) - @asyncSlot() - async def stop_watching(self): + def stop_watching(self): if self._watch_task is not None: self._watch_task.cancel() self._watch_task = None