Skip to content

Commit b9c0b14

Browse files
committed
ServiceValidationError
1 parent f43c6ed commit b9c0b14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

homeassistant/components/system_bridge/services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
SupportsResponse,
2020
callback,
2121
)
22-
from homeassistant.exceptions import HomeAssistantError, ServiceValidationError
22+
from homeassistant.exceptions import ServiceValidationError
2323
from homeassistant.helpers import (
2424
config_validation as cv,
2525
device_registry as dr,
@@ -192,7 +192,7 @@ async def handle_get_process_by_id(service_call: ServiceCall) -> ServiceResponse
192192
)
193193
)
194194
except StopIteration as e:
195-
raise HomeAssistantError(
195+
raise ServiceValidationError(
196196
translation_domain=DOMAIN,
197197
translation_key="process_not_found",
198198
translation_placeholders={"id": service_call.data[CONF_ID]},

0 commit comments

Comments
 (0)