Improve Supervisor API handling (#89379)
This commit is contained in:
parent
9381865f1c
commit
feb3f543be
10 changed files with 620 additions and 212 deletions
|
@ -116,6 +116,7 @@ async def websocket_supervisor_api(
|
|||
method=msg[ATTR_METHOD],
|
||||
timeout=msg.get(ATTR_TIMEOUT, 10),
|
||||
payload=msg.get(ATTR_DATA, {}),
|
||||
source="core.websocket_api",
|
||||
)
|
||||
|
||||
if result.get(ATTR_RESULT) == "error":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue