state str

This commit is contained in:
atse 2024-08-23 13:50:55 +08:00
parent f93e76eaa0
commit 7668bbf57e

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