ESPHome
2024.9.2
|
#include <automation.h>
Public Member Functions | |
void | trigger (Ts... x) |
Inform the parent automation that the event has triggered. More... | |
void | set_automation_parent (Automation< Ts... > *automation_parent) |
void | stop_action () |
Stop any action connected to this trigger. More... | |
bool | is_action_running () |
Returns true if any action connected to this trigger is running. More... | |
Protected Attributes | |
Automation< Ts... > * | automation_parent_ {nullptr} |
Definition at line 92 of file automation.h.
|
inline |
Returns true if any action connected to this trigger is running.
Definition at line 109 of file automation.h.
|
inline |
Definition at line 100 of file automation.h.
|
inline |
Stop any action connected to this trigger.
Definition at line 103 of file automation.h.
|
inline |
Inform the parent automation that the event has triggered.
Definition at line 95 of file automation.h.
|
protected |
Definition at line 116 of file automation.h.