ESPHome 2025.12.3
Loading...
Searching...
No Matches
template_button.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace esphome::template_ {
6
7class TemplateButton final : public button::Button {
8 public:
9 // Implements the abstract `press_action` but the `on_press` trigger already handles the press.
10 void press_action() override{};
11};
12
13} // namespace esphome::template_
Base class for all buttons.
Definition button.h:25