mirror of
https://github.com/home-assistant/core.git
synced 2026-10-21 13:52:18 -04:00
Use async_get_device_and_config_entry service helper in kiosker (#180139)
This commit is contained in:
@@ -262,7 +262,9 @@ async def test_service_non_kiosker_device(
|
||||
identifiers={("other_domain", "other_device")},
|
||||
)
|
||||
|
||||
with pytest.raises(ServiceValidationError, match=f"No {DOMAIN} devices"):
|
||||
with pytest.raises(
|
||||
ServiceValidationError, match=f"does not belong to integration {DOMAIN}"
|
||||
):
|
||||
await hass.services.async_call(
|
||||
DOMAIN,
|
||||
"navigate_url",
|
||||
|
||||
Reference in New Issue
Block a user