Address device helper review comments (#120615)

* Address review comments from #119761

* Address review comments from #119761

* Address review comments from #119761

* Remove reference from config entry
This commit is contained in:
dougiteixeira 2024-06-27 03:50:20 -03:00 committed by GitHub
parent 28e72753ad
commit 617ab48fa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 7 deletions

View file

@ -169,7 +169,7 @@ async def test_remove_stale_device_links_keep_entity_device(
config_entry.entry_id
)
# After cleanup, only one device is expected to be linked to the configuration entry if at least source_entity_id_or_uuid or device_id was given, else zero
# After cleanup, only one device is expected to be linked to the config entry
assert len(devices_config_entry) == 1
assert current_device in devices_config_entry
@ -220,7 +220,7 @@ async def test_remove_stale_devices_links_keep_current_device(
config_entry.entry_id
)
# After cleanup, only one device is expected to be linked to the configuration entry
# After cleanup, only one device is expected to be linked to the config entry
assert len(devices_config_entry) == 1
assert current_device in devices_config_entry