mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix race in removing modified devices from the entity registry (#113623)
This commit is contained in:
parent
c58bba55bf
commit
86ccb99f4c
@ -638,7 +638,9 @@ class EntityRegistry(BaseRegistry):
|
|||||||
minor_version=STORAGE_VERSION_MINOR,
|
minor_version=STORAGE_VERSION_MINOR,
|
||||||
)
|
)
|
||||||
self.hass.bus.async_listen(
|
self.hass.bus.async_listen(
|
||||||
EVENT_DEVICE_REGISTRY_UPDATED, self.async_device_modified
|
EVENT_DEVICE_REGISTRY_UPDATED,
|
||||||
|
self.async_device_modified,
|
||||||
|
run_immediately=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user