mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
device_tracker.see should not call async methods (#4377)
This commit is contained in:
parent
7e73d27dd1
commit
479457d6ec
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user