mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +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:
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user