There was an error while loading. Please reload this page.
1 parent f43c6ed commit b9c0b14Copy full SHA for b9c0b14
1 file changed
homeassistant/components/system_bridge/services.py
@@ -19,7 +19,7 @@
19
SupportsResponse,
20
callback,
21
)
22
-from homeassistant.exceptions import HomeAssistantError, ServiceValidationError
+from homeassistant.exceptions import ServiceValidationError
23
from homeassistant.helpers import (
24
config_validation as cv,
25
device_registry as dr,
@@ -192,7 +192,7 @@ async def handle_get_process_by_id(service_call: ServiceCall) -> ServiceResponse
192
193
194
except StopIteration as e:
195
- raise HomeAssistantError(
+ raise ServiceValidationError(
196
translation_domain=DOMAIN,
197
translation_key="process_not_found",
198
translation_placeholders={"id": service_call.data[CONF_ID]},
0 commit comments