From 479457d6ec8a4d00a5e713bec47d6bec682ebdbc Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 14 Nov 2016 18:35:58 -0800 Subject: [PATCH] device_tracker.see should not call async methods (#4377) --- 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 6c6ae3adea6..082602b09f8 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -242,7 +242,7 @@ class DeviceTracker(object): if device.track: device.update_ha_state() - self.hass.bus.async_fire(EVENT_NEW_DEVICE, device) + self.hass.bus.fire(EVENT_NEW_DEVICE, device) # During init, we ignore the group if self.group is not None: