From 518a5fb3331617eb212eb0e41278f88aac4ab20f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 12 Sep 2026 05:35:21 -0500 Subject: [PATCH] [http_request] Use a user provided default constructor for OtaHttpRequestComponent --- esphome/components/http_request/ota/ota_http_request.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/http_request/ota/ota_http_request.h b/esphome/components/http_request/ota/ota_http_request.h index 9bb748f1758..9eaab873f44 100644 --- a/esphome/components/http_request/ota/ota_http_request.h +++ b/esphome/components/http_request/ota/ota_http_request.h @@ -23,6 +23,9 @@ enum OtaHttpRequestError : uint8_t { class OtaHttpRequestComponent final : public ota::OTAComponent, public Parented { public: + // User provided, not "= default": `new(p) OtaHttpRequestComponent()` would zero-fill .bss that is already zero. + OtaHttpRequestComponent() {} + void dump_config() override; float get_setup_priority() const override { return setup_priority::AFTER_WIFI; }