diff --git a/esphome/core/automation.h b/esphome/core/automation.h index af57e5b760..6b5d77ab96 100644 --- a/esphome/core/automation.h +++ b/esphome/core/automation.h @@ -19,10 +19,13 @@ namespace esphome { #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +// NOLINTNEXTLINE(readability-identifier-naming) template struct ESPDEPRECATED("Use std::index_sequence instead. Removed in 2026.6.0", "2025.12.0") seq {}; +// NOLINTNEXTLINE(readability-identifier-naming) template struct ESPDEPRECATED("Use std::make_index_sequence instead. Removed in 2026.6.0", "2025.12.0") gens : gens {}; +// NOLINTNEXTLINE(readability-identifier-naming) template struct gens<0, S...> { using type = seq; }; #if defined(__GNUC__) || defined(__clang__)