Use async_get_device_and_config_entry service helper in kiosker (#180139)

This commit is contained in:
epenet
2026-08-25 16:49:39 +02:00
committed by GitHub
parent deed88be79
commit d751b4e1a7
2 changed files with 8 additions and 15 deletions
+3 -1
View File
@@ -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",