Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion homeassistant/helpers/device_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2256,7 +2256,8 @@ def async_get_or_create( # noqa: C901
else:
connections = _normalize_connections(connections)

# A child is referenced via parent_device_id, not adopted by a device info
# We do not allow registering a device without parent_device_id if the
# identifiers match an existing child.
if (
matched_child_device := self.child_devices.get_entry(
identifiers=identifiers, config_entry_id=config_entry_id
Expand Down
Loading