ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
demo_button.h
Go to the documentation of this file.
1#pragma once
2
4#include "esphome/core/log.h"
5
6namespace esphome::demo {
7
8class DemoButton : public button::Button {
9 protected:
10 void press_action() override {}
11};
12
13} // namespace esphome::demo
Base class for all buttons.
Definition button.h:25
void press_action() override
Definition demo_button.h:10