Add missing exception translation to Home Connect (#139218)

Add missing exception translation
This commit is contained in:
J. Diego Rodríguez Royo
2025-02-24 23:25:24 +01:00
committed by GitHub
parent b662d32e44
commit b86bb75e5e
3 changed files with 9 additions and 4 deletions

View File

@@ -589,9 +589,7 @@ async def test_services_appliance_not_found(
)
service_call["service_data"]["device_id"] = device_entry.id
with pytest.raises(
ServiceValidationError, match=r"Home Connect config entry.*not found"
):
with pytest.raises(ServiceValidationError, match=r"Config entry.*not found"):
await hass.services.async_call(**service_call)
device_entry = device_registry.async_get_or_create(