device_tracker.see should not call async methods (#4377)
This commit is contained in:
1 parent
7e73d27dd1
commit
479457d6ec
1 file changed
+1
-1
@@ -242,7 +242,7 @@ class DeviceTracker(object):
|
|||||||
if device.track:
|
if device.track:
|
||||||
device.update_ha_state()
|
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
|
# During init, we ignore the group
|
||||||
if self.group is not None:
|
if self.group is not None:
|
||||||
|
|||||||
Reference in new issue
Block a user