Add NUM_CHANNELS to Thermostat!

This commit is contained in:
atse 2024-09-02 16:06:21 +08:00
parent db7cdca24c
commit 25990d19a9

View File

@ -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()