28 void setup()
override;
light::LightState * lightstate_
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Interface to write LightStates to hardware.
void set_output(output::BinaryOutput *output)
output::BinaryOutput * output_
float get_loop_priority() const override
void setup_state(light::LightState *state) override
void write_state(light::LightState *state) override
Light can be turned on/off.
float get_setup_priority() const override
light::LightTraits get_traits() override
This class is used to represent the capabilities of a light.
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
void set_pin(GPIOPin *pin)
void dump_config() override
Implementation of SPI Controller mode.
void output_state_(bool state)