12 void setup()
override;
switch_::Switch * source_
void dump_config() override
void set_source(switch_::Switch *source)
void write_state(bool state) override
Base class for all switches.
bool state
The current reported state of the binary sensor.
Providing packet encoding functions for exchanging data with a remote host.