From 4091f39355cec97c4c6dbff874395d64471aa0c5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 6 Jun 2025 07:13:36 +0100 Subject: [PATCH] reverts --- esphome/components/api/api_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/api/api_connection.cpp b/esphome/components/api/api_connection.cpp index 35a9d39762..783f4004fa 100644 --- a/esphome/components/api/api_connection.cpp +++ b/esphome/components/api/api_connection.cpp @@ -1510,7 +1510,7 @@ APIConnection::EncodedMessage APIConnection::try_send_update_state_(EntityBase * resp.release_url = update->update_info.release_url; } resp.key = update->get_object_id_hash(); - return encode_message_to_buffer(msg, UpdateStateResponse::message_type, conn, remaining_size, is_single); + return encode_message_to_buffer(resp, UpdateStateResponse::message_type, conn, remaining_size, is_single); } void APIConnection::send_update_info(update::UpdateEntity *update) { this->schedule_message_(update, &APIConnection::try_send_update_info_, ListEntitiesUpdateResponse::message_type);