From 859d0d5ad616b934c9821cb62f9a42ff6b659602 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 22 Nov 2016 04:32:21 +0100 Subject: [PATCH] Bugfix device_tracker init tracker scan (#4514) --- homeassistant/components/device_tracker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 7390357f4d7e7e..b00a1044ad66d3 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -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))