Avoid references to websocket_api.const in core and other components (#119285)
This commit is contained in:
parent
2e3c3789d3
commit
960d1289ef
25 changed files with 49 additions and 63 deletions
|
@ -131,7 +131,7 @@ async def ws_project_file_process(
|
|||
except (ValueError, XknxProjectException) as err:
|
||||
# ValueError could raise from file_upload integration
|
||||
connection.send_error(
|
||||
msg["id"], websocket_api.const.ERR_HOME_ASSISTANT_ERROR, str(err)
|
||||
msg["id"], websocket_api.ERR_HOME_ASSISTANT_ERROR, str(err)
|
||||
)
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue