Assign specific error code for HomeAssistantError on websocket_api connection exceptions (#104700)

Assign specific error code for HomeAssistantError
This commit is contained in:
Jan Bouwhuis 2023-11-29 13:07:52 +01:00 committed by GitHub
parent 9741380cc0
commit 861bb48ab6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 21 additions and 21 deletions

View file

@ -2327,7 +2327,7 @@ async def test_execute_script(
translation_key="test_error",
translation_placeholders={"option": "bla"},
),
"unknown_error",
"home_assistant_error",
),
(
ServiceValidationError(