ESPHome 2025.7.4
|
#include <automation.h>
Public Member Functions | |
void | trigger (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 142 of file automation.h.
|
inline |
Returns true if any action connected to this trigger is running.
Definition at line 159 of file automation.h.
|
inline |
Definition at line 150 of file automation.h.
|
inline |
Stop any action connected to this trigger.
Definition at line 153 of file automation.h.
|
inline |
Inform the parent automation that the event has triggered.
Definition at line 145 of file automation.h.
|
protected |
Definition at line 166 of file automation.h.