5#if defined(USE_ESP_IDF) && defined(USE_SENDSPIN_SWITCH)
15 void setup()
override;
27 void setup()
override;
Base class for all sendspin subcomponents.
Switch that starts and stops the Sendspin client through the hub (see SendspinHub::set_enabled()).
void dump_config() override
void write_state(bool state) override
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.