ESPHome 2025.9.0
Loading...
Searching...
No Matches
factory_reset_switch.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace factory_reset {
9
11 public:
12 void dump_config() override;
13#ifdef USE_OPENTHREAD
14 static void factory_reset_callback();
15#endif
16
17 protected:
18 void write_state(bool state) override;
19};
20
21} // namespace factory_reset
22} // namespace esphome
Base class for all switches.
Definition switch.h:39
bool state
The current reported state of the binary sensor.
Definition switch.h:56
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7