From be32fe91c4f0dca79986fcce0e90fcf2695eadeb Mon Sep 17 00:00:00 2001 From: kbx81 Date: Sun, 11 Jan 2026 03:29:47 -0600 Subject: [PATCH] fix --- esphome/components/api/api_connection.cpp | 2 +- esphome/components/api/api_connection.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/api/api_connection.cpp b/esphome/components/api/api_connection.cpp index 75f7aac14b..fa1648a116 100644 --- a/esphome/components/api/api_connection.cpp +++ b/esphome/components/api/api_connection.cpp @@ -1437,7 +1437,7 @@ uint16_t APIConnection::try_send_event_info(EntityBase *entity, APIConnection *c #endif #ifdef USE_INFRARED -void APIConnection::infrared_transmit_raw_timings(const InfraredRFTransmitRawTimingsRequest &msg) { +void APIConnection::infrared_rf_transmit_raw_timings(const InfraredRFTransmitRawTimingsRequest &msg) { if (global_api_server != nullptr) { global_api_server->on_infrared_transmit_raw_timings_request(msg); } diff --git a/esphome/components/api/api_connection.h b/esphome/components/api/api_connection.h index 4a4b957d60..a16249edf5 100644 --- a/esphome/components/api/api_connection.h +++ b/esphome/components/api/api_connection.h @@ -173,7 +173,7 @@ class APIConnection final : public APIServerConnection { #endif #ifdef USE_INFRARED - void infrared_transmit_raw_timings(const InfraredRFTransmitRawTimingsRequest &msg); + void infrared_rf_transmit_raw_timings(const InfraredRFTransmitRawTimingsRequest &msg) override; void send_infrared_receive_event(const InfraredRFReceiveEvent &msg); #endif