|
ESPHome 2026.1.2
|
#include <automation.h>
Public Member Functions | |
| void | trigger (const Ts &...x) |
| Inform the parent automation that the event has triggered. | |
| void | set_automation_parent (Automation< Ts... > *automation_parent) |
| void | stop_action () |
| Stop any action connected to this trigger. | |
| bool | is_action_running () |
| Returns true if any action connected to this trigger is running. | |
Protected Attributes | |
| Automation< Ts... > * | automation_parent_ {nullptr} |
Definition at line 235 of file automation.h.
|
inline |
Returns true if any action connected to this trigger is running.
Definition at line 252 of file automation.h.
|
inline |
Definition at line 243 of file automation.h.
|
inline |
Stop any action connected to this trigger.
Definition at line 246 of file automation.h.
|
inline |
Inform the parent automation that the event has triggered.
Definition at line 238 of file automation.h.
|
protected |
Definition at line 259 of file automation.h.