Skip to content

Commit

Permalink
Bugfix device_tracker init tracker scan (home-assistant#4514)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored and balloob committed Nov 22, 2016
1 parent aed797f commit 859d0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/device_tracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def device_tracker_scan(now: dt_util.dt.datetime):
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))
Expand Down

0 comments on commit 859d0d5

Please sign in to comment.