14 void setup()
override;
void write_state(bool state) override
output::BinaryOutput * output_
float get_setup_priority() const override
void set_output(BinaryOutput *output)
void dump_config() override
Base class for all switches.
bool state
The current reported state of the binary sensor.
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Providing packet encoding functions for exchanging data with a remote host.