|
ESPHome 2026.10.0-dev
|
#include <user_services.h>
Public Member Functions | |
| virtual ListEntitiesServicesResponse | encode_list_service_response (std::span< char > scratch)=0 |
| Build the list-entities message. | |
| virtual bool | execute_service (const ExecuteServiceRequest &req)=0 |
| virtual bool | execute_service (const ExecuteServiceRequest &req, uint32_t action_call_id)=0 |
| bool | is_internal () |
Definition at line 21 of file user_services.h.
|
pure virtual |
Build the list-entities message.
On ESP8266 the strings live in PROGMEM and are copied into scratch, so the returned message is only valid while scratch is; other platforms ignore it.
Implemented in esphome::api::UserServiceBase< Ts >, esphome::api::UserServiceBase< Ts... >, esphome::api::UserServiceDynamic< Ts >, and esphome::api::UserServiceDynamic< Ts... >.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 33 of file user_services.h.