* 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>
* Catch malformed coordinates in here_travel_time
* Add testcase for malformed entity_id state
* Replace type ignore with None check
* Directly raise InvalidCoordinatesException
* Wait for Home Assistant to fully start.
* Update homeassistant/components/here_travel_time/sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Define callback for _update_at_start
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add DataUpdateCoordinator
* Use TypedDict for extra_state_attributes
* Extend DataUpdateCoordinator
* Use platform enum
* Use attribution property
* Use relative imports
* Revert native_value logic
* Directly return result in build_hass_attribution
* Correctly declare traffic_mode as bool
* Use self._attr_*
* Fix mypy issues
* Update homeassistant/components/here_travel_time/__init__.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Update homeassistant/components/here_travel_time/__init__.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Update homeassistant/components/here_travel_time/sensor.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* blacken
* from datetime import time
* remove none check
* Move dataclasses to models.py
* Set destination to now if None
* Add mypy error code
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
* here_travel_time: Add modes arrival and departure
* convert arrival/departure from datetime to time
* Default departure is set by external lib on None
* Use cv.key_value_schemas
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2