Bugfix device_tracker init tracker scan (#4514)

This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2016-11-21 19:33:32 -08:00
1 parent 11df7becd3
commit 6869c7401e
1 file changed
+1 -1
@@ -530,7 +530,7 @@ def async_setup_scanner_platform(hass: HomeAssistantType, config: ConfigType,
else:
host_name = scanner.get_device_name(mac)
seen.add(mac)
hass.async_add_job(async_see_device(mac=mac, host_name=host_name))
hass.add_job(async_see_device(mac=mac, host_name=host_name))
async_track_utc_time_change(
hass, device_tracker_scan, second=range(0, 60, interval))