ESPHome 2026.5.1
Loading...
Searching...
No Matches
restart_button.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome::restart {
7
8class RestartButton final : public button::Button, public Component {
9 public:
10 void dump_config() override;
11
12 protected:
13 void press_action() override;
14};
15
16} // namespace esphome::restart
Base class for all buttons.
Definition button.h:25