From 47ad206ccd6957d6862f1781b98316f25831c644 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 30 Jun 2025 10:35:19 -0500 Subject: [PATCH] Extract OTA backend functionality into separate ota_base component --- esphome/components/ota/ota.h | 2 +- esphome/components/ota_base/ota_backend.cpp | 2 +- esphome/components/ota_base/ota_backend.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/ota/ota.h b/esphome/components/ota/ota.h index 99bb3a61f8..c089cae006 100644 --- a/esphome/components/ota/ota.h +++ b/esphome/components/ota/ota.h @@ -49,4 +49,4 @@ void register_ota_platform(OTAComponent *ota_caller); #endif } // namespace ota -} // namespace esphome \ No newline at end of file +} // namespace esphome diff --git a/esphome/components/ota_base/ota_backend.cpp b/esphome/components/ota_base/ota_backend.cpp index d43974e37f..a2b2575f41 100644 --- a/esphome/components/ota_base/ota_backend.cpp +++ b/esphome/components/ota_base/ota_backend.cpp @@ -6,4 +6,4 @@ namespace ota_base { // The make_ota_backend() implementation is provided by each platform-specific backend } // namespace ota_base -} // namespace esphome \ No newline at end of file +} // namespace esphome diff --git a/esphome/components/ota_base/ota_backend.h b/esphome/components/ota_base/ota_backend.h index 3112245c88..b028f3605f 100644 --- a/esphome/components/ota_base/ota_backend.h +++ b/esphome/components/ota_base/ota_backend.h @@ -57,4 +57,4 @@ class OTABackend { std::unique_ptr make_ota_backend(); } // namespace ota_base -} // namespace esphome \ No newline at end of file +} // namespace esphome