Add ConfigFlow for here_travel_time (#69212)

* Add ConfigFlow for here_travel_time

* Use Selectors and Menu

* Use separate config flow steps for menus

* Move time options together

* Update homeassistant/components/here_travel_time/config_flow.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Blacken config_flow

* Initialize _config

* Only catch HERE errors

* Fix unknown error test

* Implement async_step_import

* Only catch errors for validate_api_key

* Split lat/lon

* Add additional test coverage

* Use TimeSelector in option flow

* Assert config entry data/option

Co-authored-by: Allen Porter <allen.porter@gmail.com>
This commit is contained in:
Kevin Stillhammer 2022-05-21 16:36:02 +02:00 committed by GitHub
parent dd0f9350ac
commit f1ac9f8cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1686 additions and 394 deletions

View file

@ -143,6 +143,7 @@ FLOWS = {
"hangouts",
"harmony",
"heos",
"here_travel_time",
"hisense_aehw4a1",
"hive",
"hlk_sw16",