From 347bf9a419d20089227cc4b9eaa2af257ef32b82 Mon Sep 17 00:00:00 2001 From: "Teemu R." Date: Wed, 26 Nov 2025 15:47:26 +0100 Subject: [PATCH] Add hold state to thermostatstate (#1609) This adds `hold_on` to the known states to allow downstreams handle the hold mode (idle, but heating if the temperature gets lower than the target). --- kasa/interfaces/thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kasa/interfaces/thermostat.py b/kasa/interfaces/thermostat.py index c5cc512c..1d2ed28b 100644 --- a/kasa/interfaces/thermostat.py +++ b/kasa/interfaces/thermostat.py @@ -15,6 +15,7 @@ class ThermostatState(Enum): Heating = "heating" Calibrating = "progress_calibration" Idle = "idle" + Hold = "hold_on" Off = "off" Shutdown = "shutdown" Unknown = "unknown"