[template] Use a user provided default constructor for TemplateBinaryOutput

This commit is contained in:
J. Nick Koston
2026-09-12 05:10:29 -05:00
parent eecea15f4f
commit 252bfb80b1
@@ -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<bool> *get_trigger() { return &this->trigger_; }
protected: