void set_constant_brightness(bool constant_brightness)
void write_state(light::LightState *state) override
bool constant_brightness_
float cold_white_temperature_
void set_cold_white(output::FloatOutput *cold_white)
void set_warm_white_temperature(float warm_white_temperature)
light::LightTraits get_traits() override
void set_warm_white(output::FloatOutput *warm_white)
float warm_white_temperature_
output::FloatOutput * warm_white_
output::FloatOutput * cold_white_
void set_cold_white_temperature(float cold_white_temperature)
Interface to write LightStates to hardware.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
This class is used to represent the capabilities of a light.
Base class for all output components that can output a variable level, like PWM.
void set_level(float state)
Set the level of this float output, this is called from the front-end.
@ COLD_WARM_WHITE
Cold and warm white output with individually controllable brightness.
Providing packet encoding functions for exchanging data with a remote host.