From 6b5b0815d72a122165323a77894e0ede4136f5b9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 25 Jun 2025 23:26:57 +0200 Subject: [PATCH] tidy issues --- esphome/components/api/api_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/api/api_connection.cpp b/esphome/components/api/api_connection.cpp index 4b1ab73654..06ca3600ed 100644 --- a/esphome/components/api/api_connection.cpp +++ b/esphome/components/api/api_connection.cpp @@ -1910,13 +1910,13 @@ void APIConnection::process_batch_() { uint16_t APIConnection::MessageCreator::operator()(EntityBase *entity, APIConnection *conn, uint32_t remaining_size, bool is_single, uint16_t message_type) const { - if (has_tagged_string_ptr()) { + if (has_tagged_string_ptr_()) { // Handle string-based messages switch (message_type) { #ifdef USE_EVENT case EventResponse::MESSAGE_TYPE: { auto *e = static_cast(entity); - return APIConnection::try_send_event_response(e, *get_string_ptr(), conn, remaining_size, is_single); + return APIConnection::try_send_event_response(e, *get_string_ptr_(), conn, remaining_size, is_single); } #endif default: