Go to file
Michael Davidson 8095db6715
Thermostat remove deprecated config (#3643)
* Raise errors for all the now deprecated options

* Fix CONF_DEFAULT_PRESET detection

* Stop attempting to set the non-existent normal_config

* Add support for default presets

* Fix correct detection of Two Point temperature mode

* Fix lint issues

* Fix tests

* Generate correct yaml for equivalent configurations

* Remove debug code

* Only set default preset if the thermostat does not have state to restore

* Add restore_default_preset_on_boot option
If set to True then the default_preset will be applied on every boot. If False (Default) state will be restored from memory as per prior versions

* Apply lint suggestions

* Switch from restore_default_preset_on_boot to an enum for startup_behavior
This gives better self-documentation as well as the option for extending to other options down the track

* Lint fixes

* Rename startup_behavior to on_boot_restore_from
This removes any issues with different English locales

* Fix comparable_preset yaml output alignment

* Add dump of on_boot_restore_from setting

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2022-09-25 21:59:04 -05:00
.devcontainer Redo docker build system with buildkit+multi-stage and cache pio packages (#2338) 2021-09-20 09:07:38 +02:00
.github Dont fail fast on CI for docker (#3832) 2022-09-21 07:54:35 +12:00
.vscode Refactor clang-tidy script to use actual compiler flags and includes (#2133) 2021-08-09 22:43:18 +02:00
docker Add the same docker tags as used in HA (#3752) 2022-09-04 20:23:54 +12:00
esphome Thermostat remove deprecated config (#3643) 2022-09-25 21:59:04 -05:00
script Fix some typos found by codespell (#3598) 2022-06-27 18:02:46 -03:00
tests Thermostat remove deprecated config (#3643) 2022-09-25 21:59:04 -05:00
.clang-format Configure clang-format for consistent pointer alignment (#1890) 2021-06-10 12:55:20 +02:00
.clang-tidy Force braces around multi-line statements (#3094) 2022-01-25 08:56:36 +13:00
.coveragerc Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
.dockerignore More VSCode devcontainer improvements (#1934) 2021-06-22 16:37:05 +02:00
.editorconfig YAML linting (#3779) 2022-09-06 15:48:01 +12:00
.gitattributes Fix line endings normalization (#2407) 2021-09-30 18:07:28 +02:00
.gitignore Raise minimum python version to 3.8 (#3176) 2022-02-10 09:55:11 +01:00
.gitpod.yml YAML linting (#3779) 2022-09-06 15:48:01 +12:00
.pre-commit-config.yaml YAML linting (#3779) 2022-09-06 15:48:01 +12:00
.yamllint YAML linting (#3779) 2022-09-06 15:48:01 +12:00
CODEOWNERS Add uFire ISE sensor (#3789) 2022-09-14 16:51:20 +12:00
CODE_OF_CONDUCT.md Update email addresses (#1733) 2021-05-03 11:51:10 +12:00
CONTRIBUTING.md Lint trailing whitespace (#3230) 2022-02-19 14:46:27 +01:00
LICENSE 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
MANIFEST.in Add *.py.script files to distributions (#3074) 2022-01-20 08:33:13 +13:00
README.md Rename master branch to release (#1976) 2021-07-02 15:42:36 +02:00
platformio.ini Upgrade rweather/Crypto from 0.2.0 to 0.4.0 (#3593) 2022-08-03 07:58:03 +12:00
pylintrc Bump pylint from 2.13.9 to 2.14.3 (#3589) 2022-06-21 16:27:33 +12:00
pyproject.toml add-black (#1593) 2021-03-07 16:03:16 -03:00
pytest.ini Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
requirements.txt Bump dashboard to 20220925.0 (#3846) 2022-09-25 18:16:30 -03:00
requirements_optional.txt Bump base image to 3.4.0 (#1879) 2021-06-08 22:03:04 +02:00
requirements_test.txt Bump pylint from 2.15.0 to 2.15.2 (#3785) 2022-09-12 10:16:18 +12:00
sdkconfig.defaults Set ESP32 watchdog to loop task (#2846) 2021-12-02 09:05:42 +13:00
setup.cfg add-black (#1593) 2021-03-07 16:03:16 -03:00
setup.py Raise minimum python version to 3.8 (#3176) 2022-02-10 09:55:11 +01:00

README.md

ESPHome Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.