20 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 turn_off()
Disable this binary output.
virtual void turn_on()
Enable this binary output.
@ ON_OFF
Only on/off control.
Providing packet encoding functions for exchanging data with a remote host.