forked from M-Labs/thermostat
Add NUM_CHANNELS to Thermostat!
This commit is contained in:
parent
db7cdca24c
commit
25990d19a9
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user