|
ESPHome 2026.5.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 629 of file automation.h.
|
default |
Default constructor for use with TriggerForwarder (no Trigger object needed).
|
inlineexplicit |
Definition at line 633 of file automation.h.
|
inline |
Definition at line 635 of file automation.h.
|
inline |
Definition at line 636 of file automation.h.
|
inline |
Definition at line 644 of file automation.h.
|
inline |
Return the number of actions in the action part of this automation that are currently running.
Definition at line 647 of file automation.h.
|
inline |
Definition at line 638 of file automation.h.
|
inline |
Definition at line 642 of file automation.h.
|
protected |
Definition at line 650 of file automation.h.