14 void setup()
override;
Base class for all switches.
output::BinaryOutput * output_
void dump_config() override
void write_state(bool state) override
void set_output(BinaryOutput *output)
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
float get_setup_priority() const override
Implementation of SPI Controller mode.
bool state
The current reported state of the binary sensor.