ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
esphome::fan::FanSpeedSetTrigger Class Reference

#include <automation.h>

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

Public Member Functions

 FanSpeedSetTrigger (Fan *state)
 
- Public Member Functions inherited from esphome::Trigger< int >
void trigger (const Ts &...x) ESPHOME_ALWAYS_INLINE
 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 Attributes

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

Detailed Description

Definition at line 200 of file automation.h.

Constructor & Destructor Documentation

◆ FanSpeedSetTrigger()

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

Definition at line 202 of file automation.h.

Field Documentation

◆ fan_

Fan* esphome::fan::FanSpeedSetTrigger::fan_
protected

Definition at line 215 of file automation.h.

◆ last_speed_

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

Definition at line 216 of file automation.h.


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