8 namespace monochromatic {
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Interface to write LightStates to hardware.
Base class for all output components that can output a variable level, like PWM.
light::LightTraits get_traits() override
output::FloatOutput * output_
void set_level(float state)
Set the level of this float output, this is called from the front-end.
void current_values_as_brightness(float *brightness)
Master brightness of the light can be controlled.
void set_output(output::FloatOutput *output)
This class is used to represent the capabilities of a light.
void write_state(light::LightState *state) override
Implementation of SPI Controller mode.