From 254e391a09cfe94ffe85c127dc657c583733a759 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 23 Aug 2024 13:50:55 +0800 Subject: [PATCH] state str --- pytec/pytec/gui/model/thermostat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index 75fd37d..5cf5064 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -8,9 +8,9 @@ from pytec.aioclient import AsyncioClient class ThermostatConnectionState(Enum): - DISCONNECTED = False + DISCONNECTED = "disconnected" CONNECTING = "connecting" - CONNECTED = True + CONNECTED = "connected" class Thermostat(QObject, metaclass=PropertyMeta):