mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +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,
|
||||
)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user