ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
sendspin_switch.h
Go to the documentation of this file.
1#pragma once
2
4
5#if defined(USE_ESP_IDF) && defined(USE_SENDSPIN_SWITCH)
6
9
10namespace esphome::sendspin_ {
11
14 public:
15 void setup() override;
16 void dump_config() override;
17
18 protected:
19 void write_state(bool state) override;
20};
21
26 public:
27 void setup() override;
28 void dump_config() override;
29
30 protected:
31 void write_state(bool state) override;
32};
33
34} // namespace esphome::sendspin_
35
36#endif
Base class for all sendspin subcomponents.
Switch that starts and stops the Sendspin client through the hub (see SendspinHub::set_enabled()).
Switch that turns unpaired (Sentinel) access on and off through the hub (see SendspinHub::set_unpaire...
Base class for all switches.
Definition switch.h:38
bool state
The current reported state of the binary sensor.
Definition switch.h:55