copilot: Update homeassistant/components/websocket_api/commands.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Abílio Costa
2025-08-06 15:57:16 +01:00
committed by GitHub
parent 8308be185e
commit f8f4c7ddeb

View File

@@ -865,8 +865,7 @@ def handle_expand_target(
"missing_labels": extracted.missing_labels,
}
payload = json_bytes(extracted_dict)
connection.send_message(construct_result_message(msg["id"], payload))
connection.send_result(msg["id"], extracted_dict)
@decorators.websocket_command(