mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
device_tracker.see should not call async methods (#4377)
This commit is contained in:
@@ -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