|
ESPHome 2025.12.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 309 of file automation.h.
|
inlineexplicit |
Definition at line 311 of file automation.h.
|
inline |
Definition at line 313 of file automation.h.
|
inline |
Definition at line 314 of file automation.h.
|
inline |
Definition at line 320 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 323 of file automation.h.
|
inline |
Definition at line 316 of file automation.h.
|
inline |
Definition at line 318 of file automation.h.
|
protected |
Definition at line 327 of file automation.h.
|
protected |
Definition at line 326 of file automation.h.