From c40a33cb48e015a651cdd0195fab5b14ba8c53a6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 30 Jun 2025 09:56:20 -0500 Subject: [PATCH] revert ota backend changes --- esphome/components/web_server_base/web_server_base.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/web_server_base/web_server_base.cpp b/esphome/components/web_server_base/web_server_base.cpp index 78c4b6b57a..9ad88e09f4 100644 --- a/esphome/components/web_server_base/web_server_base.cpp +++ b/esphome/components/web_server_base/web_server_base.cpp @@ -31,6 +31,9 @@ static const char *const TAG = "web_server_base"; // 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. +// The IDFWebServerOTABackend class is intentionally designed with the same interface +// as OTABackend to make it easy to swap to using OTABackend when the ota component +// is split into ota and ota_base in the future. class IDFWebServerOTABackend { public: bool begin() {