This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Interface to write LightStates to hardware.
virtual std::unique_ptr< LightTransformer > create_default_transition()
Return the default transformer used for transitions.
virtual void write_state(LightState *state)=0
Called from loop() every time the light state has changed, and should should write the new state to h...
virtual void update_state(LightState *state)
Called on every update of the current values of the associated LightState, can optionally be used to ...
This class is used to represent the capabilities of a light.
virtual void setup_state(LightState *state)
Implementation of SPI Controller mode.
virtual LightTraits get_traits()=0
Return the LightTraits of this LightOutput.