|
ESPHome 2026.1.0-dev
|
#include <automation.h>
Public Member Functions | |
| Automation (Trigger< Ts... > *trigger) | |
| void | add_action (Action< Ts... > *action) |
| void | add_actions (const std::initializer_list< Action< Ts... > * > &actions) |
| void | stop () |
| void | trigger (const 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 346 of file automation.h.
|
inlineexplicit |
Definition at line 348 of file automation.h.
|
inline |
Definition at line 350 of file automation.h.
|
inline |
Definition at line 351 of file automation.h.
|
inline |
Definition at line 357 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 360 of file automation.h.
|
inline |
Definition at line 353 of file automation.h.
|
inline |
Definition at line 355 of file automation.h.
|
protected |
Definition at line 364 of file automation.h.
|
protected |
Definition at line 363 of file automation.h.