state str

This commit is contained in:
atse 2024-08-23 13:50:55 +08:00
parent 50ac1c2078
commit 3731282146

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):