From 04d073bc18ac20214d534181bd19f0af1b90cda4 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 b90d03b..33c442c 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):