From 51a238f3d28f0191bb01331494e69e932d10ad72 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 7 Nov 2025 11:39:17 -0600 Subject: [PATCH] [event] Store event types in flash memory --- esphome/components/event/event.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/esphome/components/event/event.h b/esphome/components/event/event.h index 3107a11477..efa4c14464 100644 --- a/esphome/components/event/event.h +++ b/esphome/components/event/event.h @@ -36,11 +36,6 @@ class Event : public EntityBase, public EntityBase_DeviceClass { this->types_ = event_types; this->last_event_type_ = nullptr; // Reset when types change } - /// Set the event types supported by this event (from C array). - template void set_event_types(const char *const (&event_types)[N]) { - this->types_.assign(event_types, event_types + N); - this->last_event_type_ = nullptr; // Reset when types change - } // Deleted overloads to catch incorrect std::string usage at compile time with clear error messages void set_event_types(std::initializer_list event_types) = delete;