mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Add missing exception translation to Home Connect (#139218)
Add missing exception translation
This commit is contained in:
committed by
GitHub
parent
b662d32e44
commit
b86bb75e5e
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user