19 state->current_values_as_binary(&binary);
void set_output(output::BinaryOutput *output)
output::BinaryOutput * output_
void write_state(light::LightState *state) override
light::LightTraits get_traits() override
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.
virtual void set_state(bool state)
Enable or disable this binary output.
@ ON_OFF
Only on/off control.