Add primary_config_entry attribute to device registry entries (#119959)
Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Robert Resch <robert@resch.dev>
This commit is contained in:
parent
f55ddfecf4
commit
9bbeb5d608
82 changed files with 1001 additions and 105 deletions
|
@ -118,7 +118,7 @@ async def test_migrate_device_id_no_serial_skip_if_other_owner(
|
|||
bridge = device_registry.async_get(bridge.id)
|
||||
|
||||
assert bridge.identifiers == variant.before
|
||||
assert bridge.config_entries == [entry.entry_id]
|
||||
assert bridge.config_entries == {entry.entry_id}
|
||||
|
||||
|
||||
@pytest.mark.parametrize("variant", DEVICE_MIGRATION_TESTS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue