ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::fan::FanTurnOffTrigger Class Reference

#include <automation.h>

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

Public Member Functions

 FanTurnOffTrigger (Fan *state)
 
- Public Member Functions inherited from esphome::Trigger<>
void trigger (Ts... x)
 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

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

Detailed Description

Definition at line 139 of file automation.h.

Constructor & Destructor Documentation

◆ FanTurnOffTrigger()

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

Definition at line 141 of file automation.h.

Field Documentation

◆ last_on_

bool esphome::fan::FanTurnOffTrigger::last_on_
protected

Definition at line 154 of file automation.h.


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