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
|
@ -128,7 +128,7 @@ async def test_entity_and_device_attributes(
|
|||
assert entry
|
||||
assert entry.unique_id == device.device_id
|
||||
|
||||
entry = device_registry.async_get_device({(DOMAIN, device.device_id)})
|
||||
entry = device_registry.async_get_device(identifiers={(DOMAIN, device.device_id)})
|
||||
assert entry
|
||||
assert entry.configuration_url == "https://account.smartthings.com"
|
||||
assert entry.identifiers == {(DOMAIN, device.device_id)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue