12 void setup()
override;
Base class for all switches.
void set_switch_id(uint8_t switch_id)
void write_state(bool state) override
void set_tuya_parent(Tuya *parent)
Implementation of SPI Controller mode.
void dump_config() override
bool state
The current reported state of the binary sensor.