|
ESPHome 2026.11.0b6
|
Automations a component triggers itself, sized at codegen time (count from cg.slot_counter). More...
#include <automation.h>
Public Member Functions | |
| void | add (Automation< Ts... > *automation) |
| bool | empty () const |
| template<typename... Args> | |
| void | trigger (Args &&...x) |
Arguments convert to Ts only when the list is not empty (e.g. const char * to std::string). | |
Protected Attributes | |
| StaticVector< Automation< Ts... > *, N > | automations_ |
Automations a component triggers itself, sized at codegen time (count from cg.slot_counter).
Definition at line 765 of file automation.h.
|
inline |
Definition at line 767 of file automation.h.
|
inline |
Definition at line 768 of file automation.h.
|
inline |
Arguments convert to Ts only when the list is not empty (e.g. const char * to std::string).
Definition at line 770 of file automation.h.
|
protected |
Definition at line 777 of file automation.h.