Base class for all switches.
void set_send_every(uint32_t send_every)
void set_single_state(bool single)
std::vector< uint8_t > data_on_
void write_command_(bool state)
std::vector< uint8_t > data_off_
void dump_config() override
uint32_t last_transmission_
void set_data_on(const std::vector< uint8_t > &data)
Implementation of SPI Controller mode.
void write_state(bool state) override
void set_data_off(const std::vector< uint8_t > &data)
bool state
The current reported state of the binary sensor.