Compare commits

...
Author SHA1 Message Date
J. Nick Koston df832b6031 [event] Use a user provided default constructor 2026-09-11 21:28:18 -05:00
+3
View File
@@ -21,6 +21,9 @@ 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).