device_tracker.see should not call async methods (#4377)

This commit is contained in:
Paulus Schoutsen 2016-11-14 18:35:58 -08:00 committed by GitHub
parent 7e73d27dd1
commit 479457d6ec

View File

@ -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: