|
| virtual void | execute (Ts...)=0 |
| | Execute a new instance of this script.
|
| |
| virtual bool | is_running () |
| | Check if any instance of this script is currently running.
|
| |
| virtual void | stop () |
| | Stop all instances of this script.
|
| |
| void | execute_tuple (const std::tuple< Ts... > &tuple) |
| |
| void | set_name (const LogString *name) |
| |
| void | trigger (const Ts &...x) ESPHOME_ALWAYS_INLINE |
| | 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.
|
| |
|
| template<size_t... S> |
| void | execute_tuple_ (const std::tuple< Ts... > &tuple, std::index_sequence< S... >) |
| |
| void | esp_logw_ (int line, const __FlashStringHelper *format, const char *param) |
| |
| void | esp_logd_ (int line, const __FlashStringHelper *format, const char *param) |
| |
| void | esp_log_ (int level, int line, const __FlashStringHelper *format, const char *param) |
| |
| void | esp_logw_ (int line, const char *format, const char *param) |
| |
| void | esp_logd_ (int line, const char *format, const char *param) |
| |
| void | esp_log_ (int level, int line, const char *format, const char *param) |
| |
template<typename... Ts>
class esphome::script::Script< Ts >
The abstract base class for all script types.
Definition at line 35 of file script.h.