ESPHome
2024.11.2
|
#include <automation.h>
Public Member Functions | |
FanPresetSetTrigger (Fan *state) | |
Public Member Functions inherited from esphome::Trigger< std::string > | |
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 Attributes | |
std::string | last_preset_mode_ |
Protected Attributes inherited from esphome::Trigger< std::string > | |
Automation< Ts... > * | automation_parent_ |
Definition at line 211 of file automation.h.
|
inline |
Definition at line 213 of file automation.h.
|
protected |
Definition at line 226 of file automation.h.