|
ESPHome 2025.12.0-dev
|
#include <automation.h>
Public Member Functions | |
| void | add_on_sent (const std::initializer_list< Action< Ts... > * > &actions) |
| void | add_on_error (const std::initializer_list< Action< Ts... > * > &actions) |
| void | set_wait_for_sent (bool wait_for_sent) |
| void | set_continue_on_error (bool continue_on_error) |
| void | play_complex (const Ts &...x) override |
| void | play (const Ts &...x) override |
| void | stop () override |
Public Member Functions inherited from esphome::Action< Ts... > | |
| 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. | |
Public Member Functions inherited from esphome::Parented< ESPNowComponent > | |
| 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_ | |
Protected Attributes inherited from esphome::Action< Ts... > | ||
| 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. | ||
Protected Attributes inherited from esphome::Parented< ESPNowComponent > | ||
| ESPNowComponent * | parent_ | |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::Action< Ts... > | |
| void | play_next_ (const 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.