ESPHome  2024.11.2
Public Member Functions | Protected Attributes
esphome::rgbww::RGBWWLightOutput Class Reference

#include <rgbww_light_output.h>

Inheritance diagram for esphome::rgbww::RGBWWLightOutput:
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_cold_white (output::FloatOutput *cold_white)
 
void set_warm_white (output::FloatOutput *warm_white)
 
void set_cold_white_temperature (float cold_white_temperature)
 
void set_warm_white_temperature (float warm_white_temperature)
 
void set_constant_brightness (bool constant_brightness)
 
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::FloatOutputcold_white_
 
output::FloatOutputwarm_white_
 
float cold_white_temperature_ {0}
 
float warm_white_temperature_ {0}
 
bool constant_brightness_
 
bool color_interlock_ {false}
 

Detailed Description

Definition at line 10 of file rgbww_light_output.h.

Member Function Documentation

◆ get_traits()

light::LightTraits esphome::rgbww::RGBWWLightOutput::get_traits ( )
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 21 of file rgbww_light_output.h.

◆ set_blue()

void esphome::rgbww::RGBWWLightOutput::set_blue ( output::FloatOutput blue)
inline

Definition at line 14 of file rgbww_light_output.h.

◆ set_cold_white()

void esphome::rgbww::RGBWWLightOutput::set_cold_white ( output::FloatOutput cold_white)
inline

Definition at line 15 of file rgbww_light_output.h.

◆ set_cold_white_temperature()

void esphome::rgbww::RGBWWLightOutput::set_cold_white_temperature ( float  cold_white_temperature)
inline

Definition at line 17 of file rgbww_light_output.h.

◆ set_color_interlock()

void esphome::rgbww::RGBWWLightOutput::set_color_interlock ( bool  color_interlock)
inline

Definition at line 20 of file rgbww_light_output.h.

◆ set_constant_brightness()

void esphome::rgbww::RGBWWLightOutput::set_constant_brightness ( bool  constant_brightness)
inline

Definition at line 19 of file rgbww_light_output.h.

◆ set_green()

void esphome::rgbww::RGBWWLightOutput::set_green ( output::FloatOutput green)
inline

Definition at line 13 of file rgbww_light_output.h.

◆ set_red()

void esphome::rgbww::RGBWWLightOutput::set_red ( output::FloatOutput red)
inline

Definition at line 12 of file rgbww_light_output.h.

◆ set_warm_white()

void esphome::rgbww::RGBWWLightOutput::set_warm_white ( output::FloatOutput warm_white)
inline

Definition at line 16 of file rgbww_light_output.h.

◆ set_warm_white_temperature()

void esphome::rgbww::RGBWWLightOutput::set_warm_white_temperature ( float  warm_white_temperature)
inline

Definition at line 18 of file rgbww_light_output.h.

◆ write_state()

void esphome::rgbww::RGBWWLightOutput::write_state ( light::LightState state)
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 32 of file rgbww_light_output.h.

Field Documentation

◆ blue_

output::FloatOutput* esphome::rgbww::RGBWWLightOutput::blue_
protected

Definition at line 45 of file rgbww_light_output.h.

◆ cold_white_

output::FloatOutput* esphome::rgbww::RGBWWLightOutput::cold_white_
protected

Definition at line 46 of file rgbww_light_output.h.

◆ cold_white_temperature_

float esphome::rgbww::RGBWWLightOutput::cold_white_temperature_ {0}
protected

Definition at line 48 of file rgbww_light_output.h.

◆ color_interlock_

bool esphome::rgbww::RGBWWLightOutput::color_interlock_ {false}
protected

Definition at line 51 of file rgbww_light_output.h.

◆ constant_brightness_

bool esphome::rgbww::RGBWWLightOutput::constant_brightness_
protected

Definition at line 50 of file rgbww_light_output.h.

◆ green_

output::FloatOutput* esphome::rgbww::RGBWWLightOutput::green_
protected

Definition at line 44 of file rgbww_light_output.h.

◆ red_

output::FloatOutput* esphome::rgbww::RGBWWLightOutput::red_
protected

Definition at line 43 of file rgbww_light_output.h.

◆ warm_white_

output::FloatOutput* esphome::rgbww::RGBWWLightOutput::warm_white_
protected

Definition at line 47 of file rgbww_light_output.h.

◆ warm_white_temperature_

float esphome::rgbww::RGBWWLightOutput::warm_white_temperature_ {0}
protected

Definition at line 49 of file rgbww_light_output.h.


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