Update event.h

state_ -> last_event_type_
This commit is contained in:
Nick Kinnan 2024-10-15 22:36:44 -07:00 committed by GitHub
parent 319706a56c
commit 1faf844e41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<std::string> &event_types) { this->types_ = event_types; }