|
ESPHome 2026.10.2
|
#include <homeassistant_service.h>
Data Structures | |
| struct | Flags |
Public Types | |
| using | Field = HomeAssistantField<Ts...> |
Public Member Functions | |
| HomeAssistantServiceCallAction (APIServer *parent, bool is_event, const Field *fields, uint8_t data_count, uint8_t data_template_count, uint8_t variables_count) | |
fields is a codegen table: the action or event name (no key), then the data, data_template and variables entries. | |
| 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 () |
| Trigger< Ts... > * | get_success_trigger () |
| Trigger< std::string, Ts... > * | get_error_trigger () |
| void | play (const Ts &...x) override |
Public Member Functions inherited from esphome::Action< Ts... > | |
| virtual void | play_complex (const Ts &...x) |
| void | stop_complex () |
| 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_ |
| const Field * | fields_ |
| uint8_t | data_count_ |
| uint8_t | data_template_count_ |
| uint8_t | variables_count_ |
| struct esphome::api::HomeAssistantServiceCallAction::Flags | flags_ |
| TemplatableValue< std::string, Ts... > | response_template_ {} |
| Trigger< JsonObjectConst, Ts... > | success_trigger_with_response_ |
| Trigger< Ts... > | success_trigger_ |
| Trigger< std::string, Ts... > | error_trigger_ |
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. | |
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, std::index_sequence< S... >) |
| void | play_next_tuple_ (const std::tuple< Ts... > &tuple) |
| virtual void | stop () |
| void | stop_next_ () |
| bool | is_running_next_ () |
Definition at line 83 of file homeassistant_service.h.
| using esphome::api::HomeAssistantServiceCallAction< Ts >::Field = HomeAssistantField<Ts...> |
Definition at line 85 of file homeassistant_service.h.
|
inline |
fields is a codegen table: the action or event name (no key), then the data, data_template and variables entries.
Definition at line 89 of file homeassistant_service.h.
|
inline |
Definition at line 112 of file homeassistant_service.h.
|
inline |
Definition at line 111 of file homeassistant_service.h.
|
inline |
Definition at line 109 of file homeassistant_service.h.
|
inlineoverridevirtual |
Implements esphome::Action< Ts... >.
Definition at line 115 of file homeassistant_service.h.
|
inline |
Definition at line 100 of file homeassistant_service.h.
|
inline |
Definition at line 106 of file homeassistant_service.h.
|
inline |
Definition at line 105 of file homeassistant_service.h.
|
protected |
Definition at line 221 of file homeassistant_service.h.
|
protected |
Definition at line 222 of file homeassistant_service.h.
|
protected |
Definition at line 237 of file homeassistant_service.h.
|
protected |
Definition at line 220 of file homeassistant_service.h.
|
protected |
|
protected |
Definition at line 219 of file homeassistant_service.h.
|
protected |
Definition at line 233 of file homeassistant_service.h.
|
protected |
Definition at line 236 of file homeassistant_service.h.
|
protected |
Definition at line 234 of file homeassistant_service.h.
|
protected |
Definition at line 223 of file homeassistant_service.h.