ESPHome 2025.8.0b1
|
#include <homeassistant_service.h>
Public Member Functions | |
HomeAssistantServiceCallAction (APIServer *parent, bool is_event) | |
template<typename T > | |
void | set_service (T service) |
template<typename T > | |
void | add_data (std::string key, T value) |
template<typename T > | |
void | add_data_template (std::string key, T value) |
template<typename T > | |
void | add_variable (std::string key, T value) |
void | play (Ts... x) override |
![]() | |
virtual void | play_complex (Ts... x) |
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. | |
Protected Attributes | |
APIServer * | parent_ |
bool | is_event_ |
TemplatableStringValue< Ts... > | service_ {} |
std::vector< TemplatableKeyValuePair< Ts... > > | data_ |
std::vector< TemplatableKeyValuePair< Ts... > > | data_template_ |
std::vector< TemplatableKeyValuePair< Ts... > > | variables_ |
![]() | |
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. | |
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) |
virtual void | stop () |
void | stop_next_ () |
bool | is_running_next_ () |
Definition at line 47 of file homeassistant_service.h.
|
inlineexplicit |
Definition at line 49 of file homeassistant_service.h.
|
inline |
Definition at line 56 of file homeassistant_service.h.
|
inline |
Definition at line 57 of file homeassistant_service.h.
|
inline |
Definition at line 60 of file homeassistant_service.h.
|
inlineoverridevirtual |
Implements esphome::Action< Ts... >.
Definition at line 64 of file homeassistant_service.h.
|
inline |
Definition at line 51 of file homeassistant_service.h.
|
protected |
Definition at line 94 of file homeassistant_service.h.
|
protected |
Definition at line 95 of file homeassistant_service.h.
|
protected |
Definition at line 92 of file homeassistant_service.h.
|
protected |
Definition at line 91 of file homeassistant_service.h.
|
protected |
Definition at line 93 of file homeassistant_service.h.
|
protected |
Definition at line 96 of file homeassistant_service.h.