Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Fix google_maps scan interval (home-assistant#26328)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyjtyj authored and MartinHjelmare committed Sep 1, 2019
1 parent b31fde6 commit fade2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/google_maps/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, hass, config: ConfigType, see) -> None:
self.see = see
self.username = config[CONF_USERNAME]
self.max_gps_accuracy = config[CONF_MAX_GPS_ACCURACY]
self.scan_interval = config.get(CONF_SCAN_INTERVAL) or timedelta(60)
self.scan_interval = config.get(CONF_SCAN_INTERVAL) or timedelta(seconds=60)

credfile = "{}.{}".format(
hass.config.path(CREDENTIALS_FILE), slugify(self.username)
Expand Down

0 comments on commit fade2e9

Please sign in to comment.