5#if defined(USE_ESP_IDF) && defined(USE_SENDSPIN_SWITCH)
17 void setup()
override;
Base class for all sendspin subcomponents.
Switch that turns unpaired (Sentinel) access on and off through the hub (see SendspinHub::set_unpaire...
void write_state(bool state) override
void dump_config() override
Base class for all switches.
bool state
The current reported state of the binary sensor.