ESPHome  2024.11.0
Public Member Functions | Protected Attributes
esphome::rgbct::RGBCTLightOutput Class Reference

#include <rgbct_light_output.h>

Inheritance diagram for esphome::rgbct::RGBCTLightOutput:
esphome::light::LightOutput

Public Member Functions

void set_red (output::FloatOutput *red)
 
void set_green (output::FloatOutput *green)
 
void set_blue (output::FloatOutput *blue)
 
void set_color_temperature (output::FloatOutput *color_temperature)
 
void set_white_brightness (output::FloatOutput *white_brightness)
 
void set_cold_white_temperature (float cold_white_temperature)
 
void set_warm_white_temperature (float warm_white_temperature)
 
void set_color_interlock (bool color_interlock)
 
light::LightTraits get_traits () override
 
void write_state (light::LightState *state) override
 
- Public Member Functions inherited from esphome::light::LightOutput
virtual std::unique_ptr< LightTransformercreate_default_transition ()
 Return the default transformer used for transitions. More...
 
virtual void setup_state (LightState *state)
 
virtual void update_state (LightState *state)
 Called on every update of the current values of the associated LightState, can optionally be used to do processing of this change. More...
 

Protected Attributes

output::FloatOutputred_
 
output::FloatOutputgreen_
 
output::FloatOutputblue_
 
output::FloatOutputcolor_temperature_
 
output::FloatOutputwhite_brightness_
 
float cold_white_temperature_
 
float warm_white_temperature_
 
bool color_interlock_ {true}
 

Detailed Description

Definition at line 11 of file rgbct_light_output.h.

Member Function Documentation

◆ get_traits()

light::LightTraits esphome::rgbct::RGBCTLightOutput::get_traits ( )
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 24 of file rgbct_light_output.h.

◆ set_blue()

void esphome::rgbct::RGBCTLightOutput::set_blue ( output::FloatOutput blue)
inline

Definition at line 15 of file rgbct_light_output.h.

◆ set_cold_white_temperature()

void esphome::rgbct::RGBCTLightOutput::set_cold_white_temperature ( float  cold_white_temperature)
inline

Definition at line 20 of file rgbct_light_output.h.

◆ set_color_interlock()

void esphome::rgbct::RGBCTLightOutput::set_color_interlock ( bool  color_interlock)
inline

Definition at line 22 of file rgbct_light_output.h.

◆ set_color_temperature()

void esphome::rgbct::RGBCTLightOutput::set_color_temperature ( output::FloatOutput color_temperature)
inline

Definition at line 17 of file rgbct_light_output.h.

◆ set_green()

void esphome::rgbct::RGBCTLightOutput::set_green ( output::FloatOutput green)
inline

Definition at line 14 of file rgbct_light_output.h.

◆ set_red()

void esphome::rgbct::RGBCTLightOutput::set_red ( output::FloatOutput red)
inline

Definition at line 13 of file rgbct_light_output.h.

◆ set_warm_white_temperature()

void esphome::rgbct::RGBCTLightOutput::set_warm_white_temperature ( float  warm_white_temperature)
inline

Definition at line 21 of file rgbct_light_output.h.

◆ set_white_brightness()

void esphome::rgbct::RGBCTLightOutput::set_white_brightness ( output::FloatOutput white_brightness)
inline

Definition at line 18 of file rgbct_light_output.h.

◆ write_state()

void esphome::rgbct::RGBCTLightOutput::write_state ( light::LightState state)
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 35 of file rgbct_light_output.h.

Field Documentation

◆ blue_

output::FloatOutput* esphome::rgbct::RGBCTLightOutput::blue_
protected

Definition at line 50 of file rgbct_light_output.h.

◆ cold_white_temperature_

float esphome::rgbct::RGBCTLightOutput::cold_white_temperature_
protected

Definition at line 53 of file rgbct_light_output.h.

◆ color_interlock_

bool esphome::rgbct::RGBCTLightOutput::color_interlock_ {true}
protected

Definition at line 55 of file rgbct_light_output.h.

◆ color_temperature_

output::FloatOutput* esphome::rgbct::RGBCTLightOutput::color_temperature_
protected

Definition at line 51 of file rgbct_light_output.h.

◆ green_

output::FloatOutput* esphome::rgbct::RGBCTLightOutput::green_
protected

Definition at line 49 of file rgbct_light_output.h.

◆ red_

output::FloatOutput* esphome::rgbct::RGBCTLightOutput::red_
protected

Definition at line 48 of file rgbct_light_output.h.

◆ warm_white_temperature_

float esphome::rgbct::RGBCTLightOutput::warm_white_temperature_
protected

Definition at line 54 of file rgbct_light_output.h.

◆ white_brightness_

output::FloatOutput* esphome::rgbct::RGBCTLightOutput::white_brightness_
protected

Definition at line 52 of file rgbct_light_output.h.


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