This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
virtual void turn_on()
Enable this binary output.
Interface to write LightStates to hardware.
output::BinaryOutput * output_
virtual void turn_off()
Disable this binary output.
light::LightTraits get_traits() override
void current_values_as_binary(bool *binary)
The result of all the current_values_as_* methods have gamma correction applied.
void set_output(output::BinaryOutput *output)
Light can be turned on/off.
This class is used to represent the capabilities of a light.
void write_state(light::LightState *state) override
Implementation of SPI Controller mode.