ESPHome 2025.10.2
|
#include <homeassistant_service.h>
Data Structures | |
struct | Flags |
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) |
template<typename T > | |
void | set_response_template (T response_template) |
void | set_wants_status () |
void | set_wants_response () |
Trigger< JsonObjectConst, Ts... > * | get_success_trigger_with_response () const |
Trigger< Ts... > * | get_success_trigger () const |
Trigger< std::string, Ts... > * | get_error_trigger () const |
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_ |
TemplatableStringValue< Ts... > | service_ {} |
std::vector< TemplatableKeyValuePair< Ts... > > | data_ |
std::vector< TemplatableKeyValuePair< Ts... > > | data_template_ |
std::vector< TemplatableKeyValuePair< Ts... > > | variables_ |
TemplatableStringValue< Ts... > | response_template_ {""} |
Trigger< JsonObjectConst, Ts... > * | success_trigger_with_response_ = new Trigger<JsonObjectConst, Ts...>() |
Trigger< Ts... > * | success_trigger_ = new Trigger<Ts...>() |
Trigger< std::string, Ts... > * | error_trigger_ = new Trigger<std::string, Ts...>() |
struct esphome::api::HomeAssistantServiceCallAction::Flags | 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. | |
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 88 of file homeassistant_service.h.
|
inlineexplicit |
Definition at line 90 of file homeassistant_service.h.
|
inline |
Definition at line 99 of file homeassistant_service.h.
|
inline |
Definition at line 100 of file homeassistant_service.h.
|
inline |
Definition at line 103 of file homeassistant_service.h.
|
inline |
Definition at line 122 of file homeassistant_service.h.
|
inline |
Definition at line 121 of file homeassistant_service.h.
|
inline |
Definition at line 117 of file homeassistant_service.h.
|
inlineoverridevirtual |
Implements esphome::Action< Ts... >.
Definition at line 125 of file homeassistant_service.h.
|
inline |
Definition at line 108 of file homeassistant_service.h.
|
inline |
Definition at line 94 of file homeassistant_service.h.
|
inline |
Definition at line 114 of file homeassistant_service.h.
|
inline |
Definition at line 113 of file homeassistant_service.h.
|
protected |
Definition at line 194 of file homeassistant_service.h.
|
protected |
Definition at line 195 of file homeassistant_service.h.
|
protected |
Definition at line 203 of file homeassistant_service.h.
|
protected |
|
protected |
Definition at line 192 of file homeassistant_service.h.
|
protected |
Definition at line 199 of file homeassistant_service.h.
|
protected |
Definition at line 193 of file homeassistant_service.h.
|
protected |
Definition at line 202 of file homeassistant_service.h.
|
protected |
Definition at line 200 of file homeassistant_service.h.
|
protected |
Definition at line 196 of file homeassistant_service.h.