From 14123d25c2a8cf59cb12e9112d236b26f91bbd34 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 30 Jun 2025 09:50:46 -0500 Subject: [PATCH] fixes --- esphome/components/web_server_base/web_server_base.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esphome/components/web_server_base/web_server_base.cpp b/esphome/components/web_server_base/web_server_base.cpp index 5bff06e7ad..78c4b6b57a 100644 --- a/esphome/components/web_server_base/web_server_base.cpp +++ b/esphome/components/web_server_base/web_server_base.cpp @@ -27,6 +27,10 @@ static const char *const TAG = "web_server_base"; #if defined(USE_ESP_IDF) && defined(USE_WEBSERVER_OTA) // Minimal OTA backend implementation for web server // This allows OTA updates via web server without requiring the OTA component +// TODO: In the future, this should be refactored into a common ota_base component +// that both web_server and ota components can depend on, avoiding code duplication +// while keeping the components independent. This would allow both ESP-IDF and Arduino +// implementations to share the base OTA functionality without requiring the full OTA component. class IDFWebServerOTABackend { public: bool begin() {