Update a* tests to use device & entity registry fixtures (#103711)
This commit is contained in:
parent
b81f15725f
commit
04e0e2bd75
39 changed files with 321 additions and 262 deletions
|
@ -102,10 +102,10 @@ async def test_select_entity_registering_device(
|
|||
hass: HomeAssistant,
|
||||
init_select: ConfigEntry,
|
||||
pipeline_data: PipelineData,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
) -> None:
|
||||
"""Test entity registering as an assist device."""
|
||||
dev_reg = dr.async_get(hass)
|
||||
device = dev_reg.async_get_device(identifiers={("test", "test")})
|
||||
device = device_registry.async_get_device(identifiers={("test", "test")})
|
||||
assert device is not None
|
||||
|
||||
# Test device is registered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue