1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 22:18:40 +00:00

Improve device registry for host and deCONZ service (#41786)

This commit is contained in:
Robert Svensson
2020-10-17 18:44:23 +02:00
committed by GitHub
parent 92669d33aa
commit c6c617ed31
3 changed files with 26 additions and 8 deletions

View File

@@ -254,7 +254,7 @@ async def test_remove_orphaned_entries_service(hass):
if config_entry.entry_id in entry.config_entries
]
)
== 4 # Gateway, light, switch and orphan
== 5 # Host, gateway, light, switch and orphan
)
entity_registry = await hass.helpers.entity_registry.async_get_registry()
@@ -287,7 +287,7 @@ async def test_remove_orphaned_entries_service(hass):
if config_entry.entry_id in entry.config_entries
]
)
== 3 # Gateway, light and switch
== 4 # Host, gateway, light and switch
)
assert (