From 2c3a92db971ca8e6559215504616dbcfaea16d2d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 9 Feb 2026 20:11:45 -0600 Subject: [PATCH] Add forward declaration for ComponentIterator in api_connection.h --- esphome/components/api/api_connection.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esphome/components/api/api_connection.h b/esphome/components/api/api_connection.h index 55b5402323..c69e5eb9ed 100644 --- a/esphome/components/api/api_connection.h +++ b/esphome/components/api/api_connection.h @@ -15,6 +15,10 @@ #include #include +namespace esphome { +class ComponentIterator; +} // namespace esphome + namespace esphome::api { // Keepalive timeout in milliseconds