ESPHome 2026.5.1
Loading...
Searching...
No Matches
shutdown_button.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome::shutdown {
7
8class ShutdownButton : 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::shutdown
Base class for all buttons.
Definition button.h:25