8 namespace color_temperature {
24 float color_temperature, brightness;
void set_warm_white_temperature(float warm_white_temperature)
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Interface to write LightStates to hardware.
float cold_white_temperature_
Base class for all output components that can output a variable level, like PWM.
Color temperature can be controlled.
light::LightTraits get_traits() override
void set_level(float state)
Set the level of this float output, this is called from the front-end.
output::FloatOutput * color_temperature_
void write_state(light::LightState *state) override
output::FloatOutput * brightness_
void current_values_as_ct(float *color_temperature, float *white_brightness)
This class is used to represent the capabilities of a light.
float warm_white_temperature_
void set_color_temperature(output::FloatOutput *color_temperature)
Implementation of SPI Controller mode.
void set_cold_white_temperature(float cold_white_temperature)
void set_brightness(output::FloatOutput *brightness)