ESPHome
2023.5.5
|
#include <automation.h>
Public Member Functions | |
Automation (Trigger< Ts... > *trigger) | |
Action< Ts... > * | 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 234 of file automation.h.
|
inline |
Definition at line 236 of file automation.h.
|
inline |
Definition at line 237 of file automation.h.
|
inline |
Definition at line 243 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 246 of file automation.h.
|
inline |
Definition at line 239 of file automation.h.
|
inline |
Definition at line 241 of file automation.h.
|
protected |
Definition at line 250 of file automation.h.
|
protected |
Definition at line 249 of file automation.h.