mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Avoid references to websocket_api.const in core and other components (#119285)
This commit is contained in:
@@ -353,7 +353,7 @@ def websocket_get_run(
|
||||
if pipeline_id not in pipeline_data.pipeline_debug:
|
||||
connection.send_error(
|
||||
msg["id"],
|
||||
websocket_api.const.ERR_NOT_FOUND,
|
||||
websocket_api.ERR_NOT_FOUND,
|
||||
f"pipeline_id {pipeline_id} not found",
|
||||
)
|
||||
return
|
||||
@@ -363,7 +363,7 @@ def websocket_get_run(
|
||||
if pipeline_run_id not in pipeline_debug:
|
||||
connection.send_error(
|
||||
msg["id"],
|
||||
websocket_api.const.ERR_NOT_FOUND,
|
||||
websocket_api.ERR_NOT_FOUND,
|
||||
f"pipeline_run_id {pipeline_run_id} not found",
|
||||
)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user