Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device * Update tests * Update tests * Don't enforce keyword arguments
This commit is contained in:
parent
5f46436057
commit
7539cf25be
143 changed files with 654 additions and 494 deletions
|
@ -88,7 +88,7 @@ async def test_sensor_device_info(hass: HomeAssistant) -> None:
|
|||
)
|
||||
|
||||
device_registry = dr.async_get(hass)
|
||||
device = device_registry.async_get_device({device_identifer})
|
||||
device = device_registry.async_get_device(identifiers={device_identifer})
|
||||
assert device
|
||||
|
||||
entity_registry = er.async_get(hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue