ESPHome 2025.8.0b1
|
#include <automation.h>
Public Member Functions | |
void | add_on_sent (const std::vector< Action< Ts... > * > &actions) |
void | add_on_error (const std::vector< Action< Ts... > * > &actions) |
void | set_wait_for_sent (bool wait_for_sent) |
void | set_continue_on_error (bool continue_on_error) |
void | play_complex (Ts... x) override |
void | play (Ts... x) override |
void | stop () override |
![]() | |
virtual void | stop_complex () |
virtual bool | is_running () |
Check if this or any of the following actions are currently running. | |
int | num_running_total () |
The total number of actions that are currently running in this plus any of the following actions in the chain. | |
![]() | |
Parented () | |
Parented (ESPNowComponent *parent) | |
ESPNowComponent * | get_parent () const |
Get the parent of this object. | |
void | set_parent (ESPNowComponent *parent) |
Set the parent of this object. | |
Protected Attributes | ||
ActionList< Ts... > | sent_ | |
ActionList< Ts... > | error_ | |
struct { | ||
uint8_t wait_for_sent: 1 | ||
uint8_t continue_on_error: 1 | ||
uint8_t reserved: 6 | ||
} | flags_ | |
![]() | ||
friend | ActionList< Ts... > | |
Action< Ts... > * | next_ | |
int | num_running_ | |
The number of instances of this sequence in the list of actions that is currently being executed. | ||
![]() | ||
ESPNowComponent * | parent_ | |
Additional Inherited Members | |
![]() | |
void | play_next_ (Ts... x) |
void | play_next_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >) |
void | play_next_tuple_ (const std::tuple< Ts... > &tuple) |
void | stop_next_ () |
bool | is_running_next_ () |
Definition at line 12 of file automation.h.
|
inline |
Definition at line 23 of file automation.h.
|
inline |
Definition at line 17 of file automation.h.
|
inlineoverridevirtual |
Implements esphome::Action< Ts... >.
Definition at line 70 of file automation.h.
|
inlineoverridevirtual |
Reimplemented from esphome::Action< Ts... >.
Definition at line 39 of file automation.h.
|
inline |
Definition at line 37 of file automation.h.
|
inline |
Definition at line 36 of file automation.h.
|
inlineoverridevirtual |
Reimplemented from esphome::Action< Ts... >.
Definition at line 73 of file automation.h.
uint8_t esphome::espnow::SendAction< Ts >::continue_on_error |
Definition at line 84 of file automation.h.
|
protected |
Definition at line 80 of file automation.h.
struct { ... } esphome::espnow::SendAction< Ts >::flags_ |
uint8_t esphome::espnow::SendAction< Ts >::reserved |
Definition at line 85 of file automation.h.
|
protected |
Definition at line 79 of file automation.h.
uint8_t esphome::espnow::SendAction< Ts >::wait_for_sent |
Definition at line 83 of file automation.h.