ESPHome  1.15.2
Data Structures | Enumerations
esphome::fan Namespace Reference

Data Structures

class  FanState
 
class  FanStateCall
 
class  FanTraits
 
class  ToggleAction
 
class  TurnOffAction
 
class  TurnOnAction
 

Enumerations

enum  FanSpeed { FAN_SPEED_LOW = 0, FAN_SPEED_MEDIUM = 1, FAN_SPEED_HIGH = 2 }
 Simple enum to represent the speed of a fan. More...
 
enum  FanDirection { FAN_DIRECTION_FORWARD = 0, FAN_DIRECTION_REVERSE = 1 }
 Simple enum to represent the direction of a fan. More...
 

Enumeration Type Documentation

◆ FanDirection

Simple enum to represent the direction of a fan.

Enumerator
FAN_DIRECTION_FORWARD 
FAN_DIRECTION_REVERSE 

Definition at line 19 of file fan_state.h.

◆ FanSpeed

Simple enum to represent the speed of a fan.

Enumerator
FAN_SPEED_LOW 

The fan is running on low speed.

FAN_SPEED_MEDIUM 

The fan is running on medium speed.

FAN_SPEED_HIGH 

The fan is running on high/full speed.

Definition at line 12 of file fan_state.h.