1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-02 12:17:07 +00:00

5 Commits

Author SHA1 Message Date
Kevin Stillhammer
397538fd1a
Use find_coordinates in google_travel_time () 2022-01-07 17:45:29 +01:00
Michael
b68a2747f3
Use relative imports [A-H] () 2021-12-13 20:03:01 +01:00
Marc Mueller
1e98761f30
Use assignment expressions 15 () 2021-10-18 14:01:23 +02:00
Ville Skyttä
9864f2ef8b
String formatting cleanups () 2021-07-13 00:12:55 +02:00
Raman Gupta
aae0ccc588
Add config flow support to google_travel_time ()
* add config flow support to google_travel_time

* fix bugs and add strings

* fix import and add new test

* address comments in  since this is a similar PR

* fix default name and test

* add unique ID and device info

* fix test

* feedback from waze PR

* continue incorporating feedback from waze PR

* final fixes and update tests

* call update in lambda

* Update homeassistant/components/google_travel_time/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* additional fixes

* validate config entry data during config flow and config entry setup

* don't store entity

* patch dependency instead of HA code

* fixes

* improve tests by moving all patching to fixtures

* use self.hass instead of setting self._hass

* invert if

* remove unnecessary else

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-31 22:10:24 +02:00