diff --git a/esphome/components/event/event.h b/esphome/components/event/event.h index 260cb0ce53..c56611fb87 100644 --- a/esphome/components/event/event.h +++ b/esphome/components/event/event.h @@ -23,7 +23,7 @@ namespace event { class Event : public EntityBase, public EntityBase_DeviceClass { public: - const std::string *state; + const std::string *last_event_type_; void trigger(const std::string &event_type); void set_event_types(const std::set &event_types) { this->types_ = event_types; }