ESPHome  2024.11.0
Public Member Functions | Protected Attributes
esphome::fan::FanDirectionSetTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::fan::FanDirectionSetTrigger:
esphome::Trigger< FanDirection >

Public Member Functions

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

FanDirection last_direction_
 
- Protected Attributes inherited from esphome::Trigger< FanDirection >
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 157 of file automation.h.

Constructor & Destructor Documentation

◆ FanDirectionSetTrigger()

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

Definition at line 159 of file automation.h.

Field Documentation

◆ last_direction_

FanDirection esphome::fan::FanDirectionSetTrigger::last_direction_
protected

Definition at line 172 of file automation.h.


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