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)
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
void dump_config() override
bool state
The current reported state of the binary sensor.