forked from M-Labs/thermostat
Remove
This commit is contained in:
parent
aeecde09af
commit
68503d19e5
|
@ -138,9 +138,6 @@ class ClientWatcher(QObject):
|
||||||
def start_watching(self):
|
def start_watching(self):
|
||||||
self._watch_task = asyncio.create_task(self.run())
|
self._watch_task = asyncio.create_task(self.run())
|
||||||
|
|
||||||
def is_watching(self):
|
|
||||||
return self._watch_task is not None
|
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def stop_watching(self):
|
def stop_watching(self):
|
||||||
if self._watch_task is not None:
|
if self._watch_task is not None:
|
||||||
|
@ -161,7 +158,6 @@ class ClientWatcher(QObject):
|
||||||
async for report in self._client.report_mode():
|
async for report in self._client.report_mode():
|
||||||
self.report_update.emit(report)
|
self.report_update.emit(report)
|
||||||
|
|
||||||
|
|
||||||
@pyqtSlot(float)
|
@pyqtSlot(float)
|
||||||
def set_update_s(self, update_s):
|
def set_update_s(self, update_s):
|
||||||
self._update_s = update_s
|
self._update_s = update_s
|
||||||
|
|
Loading…
Reference in New Issue