36 float red, green, blue, color_temperature, white_brightness;
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
light::LightTraits get_traits() override
Interface to write LightStates to hardware.
Base class for all output components that can output a variable level, like PWM.
output::FloatOutput * white_brightness_
float cold_white_temperature_
Color temperature can be controlled.
void set_blue(output::FloatOutput *blue)
void set_green(output::FloatOutput *green)
void set_level(float state)
Set the level of this float output, this is called from the front-end.
void current_values_as_rgbct(float *red, float *green, float *blue, float *color_temperature, float *white_brightness)
output::FloatOutput * green_
void set_cold_white_temperature(float cold_white_temperature)
void set_color_interlock(bool color_interlock)
RGB color output and a separate white output with controllable color temperature. ...
output::FloatOutput * blue_
void set_warm_white_temperature(float warm_white_temperature)
This class is used to represent the capabilities of a light.
output::FloatOutput * red_
void set_white_brightness(output::FloatOutput *white_brightness)
void set_color_temperature(output::FloatOutput *color_temperature)
Implementation of SPI Controller mode.
void set_red(output::FloatOutput *red)
Color can be controlled using RGB format (includes a brightness control for the color).
output::FloatOutput * color_temperature_
float warm_white_temperature_
void write_state(light::LightState *state) override