Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix race in entity_platform.async_add_entities #19222
There is a race in entity_platform.async_add_entities() which makes the check for duplicated entity_id fail. This in turns may cause several entities to be created with the same entity_id.
This is a follow-up to #18445, now also fixing the case for entities which are added to the device registry.