core/homeassistant/components/google_travel_time
Paulus Schoutsen 2d3b117cb8
Use SCAN_INTERVAL instead of Throttle for google travel time (#31420)
The documentation for google_travel_time was at odds with the
implementation. The documentation stated a default scan time of
5 minutes, but the implementation was using Throttle which resulted
in the sensor updating at a maximum rate of one API call every
5 minutes. This was especially at odds with a given example at
the end of the documentation, which showed updating the sensor
every 2 minutes during commute times.

This change brings the implementation in line with the docs by
adopting the `SCAN_INTERVAL` constant set to the stated default
of 5 minutes and removing the Throttle.
2020-03-04 17:39:28 -08:00
..
__init__.py
manifest.json Correct names in manifests (C-L) (#30532) 2020-01-07 08:19:17 +01:00
sensor.py Use SCAN_INTERVAL instead of Throttle for google travel time (#31420) 2020-03-04 17:39:28 -08:00