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