0.97.1
Attempt to set a scan_interval results in the following, if scan_interval is removed from config, component works as expected
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
same issue here on 97.2
FYI, this commit fixes the issue, so gonna be OK soon: https://github.com/home-assistant/home-assistant/commit/504fe720306db2a91744f667f18970a7a6cbed59
Has https://github.com/home-assistant/home-assistant/pull/26165 fixed this? Can this issue be closed?
Yes, this has been fixed
@mcc05: could you please close this issue?
Happy to!
Most helpful comment
Yes, this has been fixed