From 836ea5c60ac8e881064ad7ecb93cabe343284888 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 20 Jul 2025 14:32:19 -1000 Subject: [PATCH 1/2] have to dupe macros --- esphome/components/api/api_frame_helper.cpp | 1 + esphome/components/api/api_frame_helper_noise.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/esphome/components/api/api_frame_helper.cpp b/esphome/components/api/api_frame_helper.cpp index 5cbc188fa5..b1c9478e59 100644 --- a/esphome/components/api/api_frame_helper.cpp +++ b/esphome/components/api/api_frame_helper.cpp @@ -4,6 +4,7 @@ #include "esphome/core/application.h" #include "esphome/core/hal.h" #include "esphome/core/helpers.h" +#include "esphome/core/log.h" #include "proto.h" #include #include diff --git a/esphome/components/api/api_frame_helper_noise.cpp b/esphome/components/api/api_frame_helper_noise.cpp index 26057bb46e..3c2c9e059e 100644 --- a/esphome/components/api/api_frame_helper_noise.cpp +++ b/esphome/components/api/api_frame_helper_noise.cpp @@ -5,6 +5,7 @@ #include "esphome/core/application.h" #include "esphome/core/hal.h" #include "esphome/core/helpers.h" +#include "esphome/core/log.h" #include "proto.h" #include #include From af061d6cd873c90f66c4f7d06ce686a715dcb535 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 20 Jul 2025 14:32:54 -1000 Subject: [PATCH 2/2] have to dupe macros --- esphome/components/api/api_frame_helper_plaintext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/api/api_frame_helper_plaintext.cpp b/esphome/components/api/api_frame_helper_plaintext.cpp index 0d7530160d..d0bc631e1b 100644 --- a/esphome/components/api/api_frame_helper_plaintext.cpp +++ b/esphome/components/api/api_frame_helper_plaintext.cpp @@ -5,6 +5,7 @@ #include "esphome/core/application.h" #include "esphome/core/hal.h" #include "esphome/core/helpers.h" +#include "esphome/core/log.h" #include "proto.h" #include #include