|
ESPHome 2026.11.0b6
|
Reuses one vector so x stays valid in automations with a delay.
More...
#include <automation.h>
Public Member Functions | |
| DataTrigger (Microphone *parent) | |
Public Member Functions inherited from esphome::Trigger< const std::vector< uint8_t > & > | |
| 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. | |
Protected Attributes | |
| std::vector< uint8_t > | data_ |
Protected Attributes inherited from esphome::Trigger< const std::vector< uint8_t > & > | |
| Automation< Ts... > * | automation_parent_ |
Reuses one vector so x stays valid in automations with a delay.
Definition at line 12 of file automation.h.
|
inlineexplicit |
Definition at line 14 of file automation.h.
|
protected |
Definition at line 22 of file automation.h.