Introduce PRESET_NONE for climate (#25360)
* Introduce PRESET_NONE for climate * Require preset mode to be a string * Lint * Fix tests
This commit is contained in:
@@ -32,6 +32,8 @@ HVAC_MODES = [
|
||||
HVAC_MODE_FAN_ONLY,
|
||||
]
|
||||
|
||||
# No preset is active
|
||||
PRESET_NONE = 'none'
|
||||
|
||||
# Device is running an energy-saving mode
|
||||
PRESET_ECO = 'eco'
|
||||
|
||||
Reference in New Issue
Block a user