ESPHome
2024.11.0
|
#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 |
Public Member Functions inherited from esphome::Action< Ts... > | |
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. More... | |
int | num_running_total () |
The total number of actions that are currently running in this plus any of the following actions in the chain. More... | |
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_ |
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. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::Action< Ts... > | |
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 32 of file homeassistant_service.h.
|
inlineexplicit |
Definition at line 34 of file homeassistant_service.h.
|
inline |
Definition at line 38 of file homeassistant_service.h.
|
inline |
Definition at line 41 of file homeassistant_service.h.
|
inline |
Definition at line 44 of file homeassistant_service.h.
|
inlineoverridevirtual |
Implements esphome::Action< Ts... >.
Definition at line 48 of file homeassistant_service.h.
|
inline |
Definition at line 36 of file homeassistant_service.h.
|
protected |
Definition at line 77 of file homeassistant_service.h.
|
protected |
Definition at line 78 of file homeassistant_service.h.
|
protected |
Definition at line 75 of file homeassistant_service.h.
|
protected |
Definition at line 74 of file homeassistant_service.h.
|
protected |
Definition at line 76 of file homeassistant_service.h.
|
protected |
Definition at line 79 of file homeassistant_service.h.