|
ESPHome 2026.6.0-dev
|
#include <automation.h>
Public Member Functions | |
| Automation ()=default | |
| Default constructor for use with TriggerForwarder (no Trigger object needed). | |
| 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) ESPHOME_ALWAYS_INLINE |
| bool | is_running () |
| int | num_running () |
| Return the number of actions in the action part of this automation that are currently running. | |
Protected Attributes | |
| ActionList< Ts... > | actions_ |
Definition at line 608 of file automation.h.
|
default |
Default constructor for use with TriggerForwarder (no Trigger object needed).
|
inlineexplicit |
Definition at line 612 of file automation.h.
|
inline |
Definition at line 614 of file automation.h.
|
inline |
Definition at line 615 of file automation.h.
|
inline |
Definition at line 623 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 626 of file automation.h.
|
inline |
Definition at line 617 of file automation.h.
|
inline |
Definition at line 621 of file automation.h.
|
protected |
Definition at line 629 of file automation.h.