state str

This commit is contained in:
atse 2024-08-23 13:50:55 +08:00
parent 255f7b7188
commit 04d073bc18

View File

@ -8,9 +8,9 @@ from pytec.aioclient import AsyncioClient
class ThermostatConnectionState(Enum): class ThermostatConnectionState(Enum):
DISCONNECTED = False DISCONNECTED = "disconnected"
CONNECTING = "connecting" CONNECTING = "connecting"
CONNECTED = True CONNECTED = "connected"
class Thermostat(QObject, metaclass=PropertyMeta): class Thermostat(QObject, metaclass=PropertyMeta):