Compare commits

..
2 changed files with 2 additions and 3 deletions

No files matched your search

-3
View File
@@ -21,9 +21,6 @@ namespace esphome::event {
class Event : public EntityBase {
public:
// User provided, not "= default": `new(p) Event()` would zero-fill .bss that is already zero.
Event() {}
void trigger(const std::string &event_type);
/// Set the event types supported by this event (from initializer list).
@@ -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: