From f0e74886823d84bab2d175e0045858199a50180e Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 2 Sep 2024 16:06:21 +0800 Subject: [PATCH] Add NUM_CHANNELS to Thermostat! --- pytec/pytec/gui/model/thermostat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 9856939..a5c23a9 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -25,6 +25,8 @@ class Thermostat(QObject, metaclass=PropertyMeta): connection_error = pyqtSignal() connection_state_changed = pyqtSignal(ThermostatConnectionState) + NUM_CHANNELS = 2 + def __init__(self, parent, update_s, disconnect_cb=None): self._update_s = update_s self._client = AsyncioClient()