ESPHome  2022.11.3
Public Member Functions | Protected Attributes
esphome::fan::FanSpeedSetTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::fan::FanSpeedSetTrigger:
esphome::Trigger<>

Public Member Functions

 FanSpeedSetTrigger (Fan *state)
 
- Public Member Functions inherited from esphome::Trigger<>
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

int last_speed_
 
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 142 of file automation.h.

Constructor & Destructor Documentation

◆ FanSpeedSetTrigger()

esphome::fan::FanSpeedSetTrigger::FanSpeedSetTrigger ( Fan state)
inline

Definition at line 144 of file automation.h.

Field Documentation

◆ last_speed_

int esphome::fan::FanSpeedSetTrigger::last_speed_
protected

Definition at line 157 of file automation.h.


The documentation for this class was generated from the following file: