ESPHome  2024.4.1
Public Member Functions | Protected Attributes
esphome::fan::FanOscillatingSetTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::fan::FanOscillatingSetTrigger:
esphome::Trigger< bool >

Public Member Functions

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

bool last_oscillating_
 
- Protected Attributes inherited from esphome::Trigger< bool >
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 175 of file automation.h.

Constructor & Destructor Documentation

◆ FanOscillatingSetTrigger()

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

Definition at line 177 of file automation.h.

Field Documentation

◆ last_oscillating_

bool esphome::fan::FanOscillatingSetTrigger::last_oscillating_
protected

Definition at line 190 of file automation.h.


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