|
ESPHome 2026.3.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 467 of file automation.h.
|
inlineexplicit |
Definition at line 469 of file automation.h.
|
inline |
Definition at line 471 of file automation.h.
|
inline |
Definition at line 472 of file automation.h.
|
inline |
Definition at line 478 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 481 of file automation.h.
|
inline |
Definition at line 474 of file automation.h.
|
inline |
Definition at line 476 of file automation.h.
|
protected |
Definition at line 485 of file automation.h.
|
protected |
Definition at line 484 of file automation.h.