1
0
forked from M-Labs/thermostat

Add NUM_CHANNELS to Thermostat!

This commit is contained in:
atse 2024-09-02 16:06:21 +08:00
parent 70627342f3
commit f0e7488682

View File

@ -25,6 +25,8 @@ class Thermostat(QObject, metaclass=PropertyMeta):
connection_error = pyqtSignal() connection_error = pyqtSignal()
connection_state_changed = pyqtSignal(ThermostatConnectionState) connection_state_changed = pyqtSignal(ThermostatConnectionState)
NUM_CHANNELS = 2
def __init__(self, parent, update_s, disconnect_cb=None): def __init__(self, parent, update_s, disconnect_cb=None):
self._update_s = update_s self._update_s = update_s
self._client = AsyncioClient() self._client = AsyncioClient()