ESPHome
2024.12.2
|
#include <automation.h>
Public Member Functions | |
Automation (Trigger< Ts... > *trigger) | |
void | add_action (Action< Ts... > *action) |
void | add_actions (const std::vector< Action< Ts... > *> &actions) |
void | stop () |
void | trigger (Ts... x) |
bool | is_running () |
int | num_running () |
Return the number of actions in the action part of this automation that are currently running. More... | |
Protected Attributes | |
Trigger< Ts... > * | trigger_ |
ActionList< Ts... > | actions_ |
Definition at line 90 of file automation.h.
|
inlineexplicit |
Definition at line 236 of file automation.h.
|
inline |
Definition at line 238 of file automation.h.
|
inline |
Definition at line 239 of file automation.h.
|
inline |
Definition at line 245 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 248 of file automation.h.
|
inline |
Definition at line 241 of file automation.h.
|
inline |
Definition at line 243 of file automation.h.
|
protected |
Definition at line 252 of file automation.h.
|
protected |
Definition at line 251 of file automation.h.