Fix google_maps scan interval (#26328)
Reported on https://github.com/home-assistant/home-assistant/issues/26275pull/26332/head
parent
b31fde6255
commit
fade2e991b
|
@ -52,7 +52,7 @@ class GoogleMapsScanner:
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue