ESPHome  1.15.2
Data Structures | Enumerations | Functions
esphome::light Namespace Reference

Data Structures

class  AddressableColorWipeEffect
 
struct  AddressableColorWipeEffectColor
 
class  AddressableFireworksEffect
 
class  AddressableFlickerEffect
 
class  AddressableLambdaLightEffect
 
class  AddressableLight
 
class  AddressableLightEffect
 
class  AddressableRainbowLightEffect
 
class  AddressableRandomTwinkleEffect
 
class  AddressableScanEffect
 
class  AddressableSet
 
class  AddressableTwinkleEffect
 
class  AutomationLightEffect
 
class  DimRelativeAction
 
struct  ESPColor
 
class  ESPColorCorrection
 
class  ESPColorSettable
 
class  ESPColorView
 
struct  ESPHSVColor
 
class  ESPRangeIterator
 
class  ESPRangeView
 
class  FlickerLightEffect
 
class  LambdaLightEffect
 
class  LightCall
 
class  LightColorValues
 This class represents the color state for a light object. More...
 
class  LightControlAction
 
class  LightEffect
 
class  LightFlashTransformer
 
class  LightIsOffCondition
 
class  LightIsOnCondition
 
class  LightOutput
 Interface to write LightStates to hardware. More...
 
class  LightState
 This class represents the communication layer between the front-end MQTT layer and the hardware output layer. More...
 
class  LightTraits
 This class is used to represent the capabilities of a light. More...
 
class  LightTransformer
 Base-class for all light color transformers, such as transitions or flashes. More...
 
class  LightTransitionTransformer
 
class  LightTurnOffTrigger
 
class  LightTurnOnTrigger
 
class  RandomLightEffect
 Random effect. Sets random colors every 10 seconds and slowly transitions between them. More...
 
class  StrobeLightEffect
 
struct  StrobeLightEffectColor
 
class  ToggleAction
 

Enumerations

enum  LightRestoreMode { LIGHT_RESTORE_DEFAULT_OFF, LIGHT_RESTORE_DEFAULT_ON, LIGHT_ALWAYS_OFF, LIGHT_ALWAYS_ON }
 

Functions

int32_t HOT interpret_index (int32_t index, int32_t size)
 
ESPColor esp_color_from_light_color_values (LightColorValues val)
 

Enumeration Type Documentation

◆ LightRestoreMode

Enumerator
LIGHT_RESTORE_DEFAULT_OFF 
LIGHT_RESTORE_DEFAULT_ON 
LIGHT_ALWAYS_OFF 
LIGHT_ALWAYS_ON 

Definition at line 163 of file light_state.h.

Function Documentation

◆ esp_color_from_light_color_values()

ESPColor esphome::light::esp_color_from_light_color_values ( LightColorValues  val)

Definition at line 182 of file addressable_light.cpp.

◆ interpret_index()

int32_t esphome::light::interpret_index ( int32_t  index,
int32_t  size 
)

Definition at line 158 of file addressable_light.cpp.