Files
home-assistant-core/homeassistant/components
Mark Coombes f6995b8d17 Add config flow to ecobee (#26634)
* Add basic config flow

* Fix json files

* Update __init__.py

* Fix json errors

* Move constants to const.py

* Add ecobee to generated config flows

* Update config_flow for updated API

* Update manifest to include new dependencies

Bump pyecobee, add aiofiles.

* Update constants for ecobee

* Modify ecobee setup to use config flow

* Bump dependency

* Update binary_sensor to use config_entry

* Update sensor to use config_entry

* Update __init__.py

* Update weather to use config_entry

* Update notify.py

* Update ecobee constants

* Update climate to use config_entry

* Avoid a breaking change on ecobee services

* Store api key from old config entry

* Allow unloading of config entry

* Show user a form before import

* Refine import flow

* Update strings.json to remove import step

Not needed.

* Move third party imports to top of module

* Remove periods from end of log messages

* Make configuration.yaml config optional

* Remove unused strings

* Reorganize config flow

* Remove unneeded requirement

* No need to store API key

* Update async_unload_entry

* Clean up if/else statements

* Update requirements_all.txt

* Fix config schema

* Update __init__.py

* Remove check for DATA_ECOBEE_CONFIG

* Remove redundant check

* Add check for DATA_ECOBEE_CONFIG

* Change setup_platform to async

* Fix state unknown and imports

* Change init step to user

* Have import step raise specific exceptions

* Rearrange try/except block in import flow

* Convert update() and refresh() to coroutines

...and update platforms to use async_update coroutine.

* Finish converting init to async

* Preliminary tests

* Test full implementation

* Update test_config_flow.py

* Update test_config_flow.py

* Add self to codeowners

* Update test_config_flow.py

* Use MockConfigEntry

* Update test_config_flow.py

* Update CODEOWNERS

* pylint fixes

* Register services under ecobee domain

Breaking change!

* Pylint fixes

* Pylint fixes

* Pylint fixes

* Move service strings to ecobee domain

* Fix log message capitalization

* Fix import formatting

* Update .coveragerc

* Add __init__ to coveragerc

* Add option flow test

* Update .coveragerc

* Act on updated options

* Revert "Act on updated options"

This reverts commit 56b0a859f2e3e80b6f4c77a8f784a2b29ee2cce9.

* Remove hold_temp from climate

* Remove hold_temp and options from init

* Remove options handler from config flow

* Remove options strings

* Remove options flow test

* Remove hold_temp constants

* Fix climate tests

* Pass api key to user step in import flow

* Update test_config_flow.py

Ensure that the import step calls the user step with the user's api key as user input if importing from ecobee.conf/validating imported keys fails.
2019-09-25 22:38:21 +02:00
..
2019-09-21 00:32:16 +00:00
…
2019-08-02 23:20:06 +02:00
2019-09-24 00:32:13 +00:00
2019-09-18 17:29:34 -07:00
…
…
2019-09-04 20:20:20 +02:00
2019-09-07 00:32:45 +00:00
…
…
2019-09-18 17:29:34 -07:00
2019-09-21 00:32:16 +00:00
2019-09-20 08:23:34 -07:00
2019-09-05 00:32:29 +00:00
2019-08-02 23:20:06 +02:00
2019-08-02 23:20:06 +02:00
2019-08-28 12:46:02 -07:00
2019-08-22 18:19:27 +02:00
2019-09-25 22:38:21 +02:00
2019-09-22 01:29:52 +02:00
…
2019-09-03 23:16:31 -07:00
…
…
2019-08-02 17:00:22 +02:00
2019-09-23 14:20:27 -07:00
…
2019-08-02 23:20:06 +02:00
…
2019-09-08 00:32:16 +00:00
2019-09-03 23:20:16 -07:00
2019-09-18 17:29:34 -07:00
…
2019-09-20 08:23:34 -07:00
2019-09-18 17:29:34 -07:00
2019-09-18 17:29:34 -07:00
2019-09-07 00:32:45 +00:00
…
…
2019-09-19 14:38:58 -07:00
2019-09-22 10:57:02 +03:00
2019-09-21 00:32:16 +00:00
…
2019-09-25 00:32:16 +00:00
…
2019-08-02 23:20:06 +02:00
2019-09-21 00:32:16 +00:00
2019-09-19 14:39:57 -07:00
2019-09-19 14:39:57 -07:00
2019-09-19 14:39:57 -07:00
2019-09-24 14:57:05 -07:00
…
2019-09-23 00:32:13 +00:00
2019-09-24 00:32:13 +00:00
2019-09-22 11:41:59 +02:00
…
2019-09-20 08:23:34 -07:00
2019-09-21 00:32:16 +00:00
…
2019-08-18 17:14:54 +02:00
…
2019-09-25 00:32:16 +00:00
2019-09-21 22:10:21 -07:00
…
…
…
2019-09-19 14:39:57 -07:00
2019-08-22 15:09:08 -07:00
2019-09-21 00:32:16 +00:00
2019-09-17 15:43:13 +02:00
…
2019-09-21 15:56:40 +02:00
…
2019-09-23 00:57:39 +02:00
2019-09-05 10:11:41 +00:00
2019-09-23 15:43:48 +02:00
2019-09-07 00:32:45 +00:00
…
2019-09-21 00:32:16 +00:00
2019-09-25 00:32:16 +00:00
2019-08-04 19:17:30 +02:00
2019-09-23 00:32:13 +00:00
2019-09-18 17:29:34 -07:00
…
2019-08-16 13:49:28 -07:00
2019-09-05 10:11:41 +00:00
2019-08-02 23:20:06 +02:00
…
2019-08-28 12:46:02 -07:00
2019-09-22 10:57:11 +03:00
2019-09-24 00:32:13 +00:00
2019-08-16 16:16:04 -07:00
2019-09-19 00:32:15 +00:00
2019-09-07 00:32:45 +00:00
2019-09-19 14:39:57 -07:00
2019-09-22 01:22:33 +02:00
…
2019-09-01 14:10:58 +03:00
2019-08-02 23:20:06 +02:00
…
2019-09-24 14:57:05 -07:00
2019-07-31 12:46:17 -07:00
2019-09-23 00:32:13 +00:00
2019-08-15 06:52:38 -06:00
2019-08-02 23:20:06 +02:00
…
2019-09-23 00:32:13 +00:00
2019-09-18 11:11:26 -07:00
2019-09-21 00:32:16 +00:00
2019-09-21 00:32:16 +00:00
…
2019-09-23 00:32:13 +00:00
2019-09-21 00:32:16 +00:00
2019-08-16 16:13:02 +02:00
2019-09-21 00:32:16 +00:00
…
2019-09-17 20:29:46 +02:00
2019-08-23 14:13:06 +02:00
2019-09-21 00:32:16 +00:00
2019-09-20 13:32:41 -06:00
…
…
…
2019-09-24 21:02:23 -07:00
2019-08-28 12:46:02 -07:00