hass-core/homeassistant
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
..
auth Replace cmp option with eq and order (#31423) 2020-02-02 20:28:52 -08:00
components Use SCAN_INTERVAL instead of Throttle for google travel time (#31420) 2020-03-04 17:39:28 -08:00
generated Add coronavirus integration (#32413) 2020-03-02 13:40:11 -08:00
helpers Update error handling in update coordinator (#32452) 2020-03-04 08:05:46 -08:00
scripts Speed up validate_entity_id (#32137) 2020-02-24 08:35:02 -08:00
util Revert "Use orjson to parse json faster (#32153)" (#32185) 2020-02-25 21:07:16 +01:00
__init__.py
__main__.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
bootstrap.py Only check frontend for safe mode if frontend wanted to be loa… (#31969) 2020-02-19 15:56:46 +01:00
config.py Add www. to all documentation links (#32063) 2020-02-21 16:10:02 -08:00
config_entries.py Annotate more async functions correctly (#31802) 2020-02-14 10:00:22 -08:00
const.py Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
core.py Speed up validate_entity_id (#32137) 2020-02-24 08:35:02 -08:00
data_entry_flow.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
exceptions.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
loader.py Extend safe mode (#31927) 2020-02-18 11:52:38 -08:00
package_constraints.txt Updated frontend to 20200228.0 (#32334) 2020-02-29 01:55:27 +01:00
requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
setup.py print component import error to logfile (#30346) 2020-01-19 22:05:10 -08:00