Add preset scheduling to radiothermostat (#29847)
* Added preset scheduling to radiothermostat. Added alternate scheduling & religious scheduling to climate/const.py * Fix Flake8 Errors in climate.py * Fixing more flake8 errors in climate.py Removed duplicate set_preset_mode def * Fixed more flake8 errors. Please be the end of these errors. * Fixed black formatting * Fixed black, broke flake8, fixed flake8 * Fixed CODE_TO_FAN_STATE black error * Fixed isort issues * Local isort broke black formatting Docs should run isort before black. Default isort will undo certain black formatting. * Removed last commas from imports * Added removed line * Fixed formatting Hopefully this is what the CI pipeline is looking for. * Ran isort from git repo root, utilizing setup.cfg. * One more try * fixed added definition and fixed logger string * fixed formatting * lost a close-paren * Update const.py Removed radiotherm specific presets * Update climate.py Moved preset definitions into radiotherm climate.py
This commit is contained in:
committed by
Martin Hjelmare
parent
4149bd653d
commit
3a3d448f17
@@ -56,7 +56,6 @@ PRESET_SLEEP = "sleep"
|
||||
# Device is reacting to activity (e.g. movement sensors)
|
||||
PRESET_ACTIVITY = "activity"
|
||||
|
||||
|
||||
# Possible fan state
|
||||
FAN_ON = "on"
|
||||
FAN_OFF = "off"
|
||||
|
||||
Reference in New Issue
Block a user