ESPHome 2025.9.0-dev
|
#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. | |
Protected Attributes | |
Trigger< Ts... > * | trigger_ |
ActionList< Ts... > | actions_ |
Definition at line 284 of file automation.h.
|
inlineexplicit |
Definition at line 286 of file automation.h.
|
inline |
Definition at line 288 of file automation.h.
|
inline |
Definition at line 289 of file automation.h.
|
inline |
Definition at line 295 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 298 of file automation.h.
|
inline |
Definition at line 291 of file automation.h.
|
inline |
Definition at line 293 of file automation.h.
|
protected |
Definition at line 302 of file automation.h.
|
protected |
Definition at line 301 of file automation.h.