Scan_interval not working on Google Maps presence detection

Hello,

I’ve recently upgraded to Hassio 0.97.1 and I’ve noticed the scan_interval option no longer works for Google Maps presence detection. I’ve removed my password as per the upgrade notes and I can get presence detection to work only when I comment out scan_interval.

Anyone else seen this issue? Any logs I can check etc?

Thanks in advance.

1 Like

Same problem here. With scan_interval option presence detection don’t works. I’ve updated to Hassio 0.97.2 from 0.97.
This is my log:

Error setting up platform legacy
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py”, line 77, in async_setup_legacy
discovery_info,
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/google_maps/device_tracker.py”, line 43, in setup_scanner
scanner = GoogleMapsScanner(hass, config, see)
File “/usr/src/homeassistant/homeassistant/components/google_maps/device_tracker.py”, line 55, in init
self.scan_interval = timedelta(seconds=config.get(CONF_SCAN_INTERVAL, 60))
TypeError: unsupported type for timedelta seconds component: datetime.timedelta

How can I solve this problem?

Thanks in advance.

I have the same issue as well with 0.97.2

Looks like an issue has already been created - https://github.com/home-assistant/home-assistant/issues/25892