mirror of
https://github.com/home-assistant/core.git
synced 2025-08-30 18:01:31 +02:00
copilot: Update homeassistant/components/websocket_api/commands.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user