diff --git a/esphome/components/template/output/template_output.h b/esphome/components/template/output/template_output.h index 6fe8e53855d..e4701ca9672 100644 --- a/esphome/components/template/output/template_output.h +++ b/esphome/components/template/output/template_output.h @@ -8,6 +8,8 @@ namespace esphome::template_ { class TemplateBinaryOutput final : public output::BinaryOutput { public: + // User provided, not "= default": `new(p) TemplateBinaryOutput()` would zero-fill .bss that is already zero. + TemplateBinaryOutput() {} Trigger *get_trigger() { return &this->trigger_; } protected: