Improve Supervisor API handling (#89379)

This commit is contained in:
Franck Nijhof 2023-03-08 15:21:11 +01:00 committed by GitHub
parent 9381865f1c
commit feb3f543be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 620 additions and 212 deletions

View file

@ -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":