mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 14:31:13 +00:00
Fix race in removing modified devices from the entity registry (#113623)
This commit is contained in:
@@ -638,7 +638,9 @@ class EntityRegistry(BaseRegistry):
|
||||
minor_version=STORAGE_VERSION_MINOR,
|
||||
)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user