mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-30 21:28:27 +00:00
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
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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user