Add hold state to thermostatstate (#1609)
Some checks failed
CI / Perform linting checks (3.13) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
Stale / stale (push) Has been cancelled

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).
This commit is contained in:
Teemu R.
2025-11-26 15:47:26 +01:00
committed by GitHub
parent 77d2ca6a83
commit 347bf9a419

View File

@@ -15,6 +15,7 @@ class ThermostatState(Enum):
Heating = "heating" Heating = "heating"
Calibrating = "progress_calibration" Calibrating = "progress_calibration"
Idle = "idle" Idle = "idle"
Hold = "hold_on"
Off = "off" Off = "off"
Shutdown = "shutdown" Shutdown = "shutdown"
Unknown = "unknown" Unknown = "unknown"