ESPHome
2024.12.2
|
#include <user_services.h>
Public Member Functions | |
UserServiceTrigger (const std::string &name, const std::array< std::string, sizeof...(Ts)> &arg_names) | |
Public Member Functions inherited from esphome::api::UserServiceBase< Ts... > | |
UserServiceBase (std::string name, const std::array< std::string, sizeof...(Ts)> &arg_names) | |
ListEntitiesServicesResponse | encode_list_service_response () override |
bool | execute_service (const ExecuteServiceRequest &req) override |
Public Member Functions inherited from esphome::Trigger< Ts... > | |
void | trigger (Ts... x) |
Inform the parent automation that the event has triggered. More... | |
void | set_automation_parent (Automation< Ts... > *automation_parent) |
void | stop_action () |
Stop any action connected to this trigger. More... | |
bool | is_action_running () |
Returns true if any action connected to this trigger is running. More... | |
Protected Member Functions | |
void | execute (Ts... x) override |
Protected Member Functions inherited from esphome::api::UserServiceBase< Ts... > | |
void | execute_ (std::vector< ExecuteServiceArgument > args, seq< S... > type) |
Additional Inherited Members | |
Protected Attributes inherited from esphome::api::UserServiceBase< Ts... > | |
std::string | name_ |
uint32_t | key_ |
std::array< std::string, sizeof...(Ts)> | arg_names_ |
Protected Attributes inherited from esphome::Trigger< Ts... > | |
Automation< Ts... > * | automation_parent_ |
Definition at line 65 of file user_services.h.
|
inline |
Definition at line 67 of file user_services.h.
|
inlineoverrideprotectedvirtual |
Implements esphome::api::UserServiceBase< Ts... >.
Definition at line 71 of file user_services.h.