ESPHome  2024.11.0
Public Member Functions | Data Fields
esphome::light::LightStateRTCState Struct Reference

#include <light_state.h>

Public Member Functions

 LightStateRTCState (ColorMode color_mode, bool state, float brightness, float color_brightness, float red, float green, float blue, float white, float color_temp, float cold_white, float warm_white)
 
 LightStateRTCState ()=default
 

Data Fields

ColorMode color_mode {ColorMode::UNKNOWN}
 
bool state {false}
 
float brightness {1.0f}
 
float color_brightness {1.0f}
 
float red {1.0f}
 
float green {1.0f}
 
float blue {1.0f}
 
float white {1.0f}
 
float color_temp {1.0f}
 
float cold_white {1.0f}
 
float warm_white {1.0f}
 
uint32_t effect {0}
 

Detailed Description

Definition at line 31 of file light_state.h.

Constructor & Destructor Documentation

◆ LightStateRTCState() [1/2]

esphome::light::LightStateRTCState::LightStateRTCState ( ColorMode  color_mode,
bool  state,
float  brightness,
float  color_brightness,
float  red,
float  green,
float  blue,
float  white,
float  color_temp,
float  cold_white,
float  warm_white 
)
inline

Definition at line 32 of file light_state.h.

◆ LightStateRTCState() [2/2]

esphome::light::LightStateRTCState::LightStateRTCState ( )
default

Field Documentation

◆ blue

float esphome::light::LightStateRTCState::blue {1.0f}

Definition at line 52 of file light_state.h.

◆ brightness

float esphome::light::LightStateRTCState::brightness {1.0f}

Definition at line 48 of file light_state.h.

◆ cold_white

float esphome::light::LightStateRTCState::cold_white {1.0f}

Definition at line 55 of file light_state.h.

◆ color_brightness

float esphome::light::LightStateRTCState::color_brightness {1.0f}

Definition at line 49 of file light_state.h.

◆ color_mode

ColorMode esphome::light::LightStateRTCState::color_mode {ColorMode::UNKNOWN}

Definition at line 46 of file light_state.h.

◆ color_temp

float esphome::light::LightStateRTCState::color_temp {1.0f}

Definition at line 54 of file light_state.h.

◆ effect

uint32_t esphome::light::LightStateRTCState::effect {0}

Definition at line 57 of file light_state.h.

◆ green

float esphome::light::LightStateRTCState::green {1.0f}

Definition at line 51 of file light_state.h.

◆ red

float esphome::light::LightStateRTCState::red {1.0f}

Definition at line 50 of file light_state.h.

◆ state

bool esphome::light::LightStateRTCState::state {false}

Definition at line 47 of file light_state.h.

◆ warm_white

float esphome::light::LightStateRTCState::warm_white {1.0f}

Definition at line 56 of file light_state.h.

◆ white

float esphome::light::LightStateRTCState::white {1.0f}

Definition at line 53 of file light_state.h.


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