From 1faf844e41554d2937a75d4529e12d1c6d36b141 Mon Sep 17 00:00:00 2001 From: Nick Kinnan Date: Tue, 15 Oct 2024 22:36:44 -0700 Subject: [PATCH] Update event.h state_ -> last_event_type_ --- esphome/components/event/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }