ESPHome 2026.11.0b6
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
16 public:
17 void setup() override;
18 void dump_config() override;
19
20 protected:
21 void write_state(bool state) override;
22};
23
24} // namespace esphome::sendspin_
25
26#endif
Base class for all sendspin subcomponents.
Switch that turns unpaired (Sentinel) access on and off through the hub (see SendspinHub::set_unpaire...
Base class for all switches.
Definition switch.h:43
bool state
The current reported state of the binary sensor.
Definition switch.h:60