ESPHome 2025.6.2
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 {
7namespace demo {
8
9class DemoButton : public button::Button {
10 protected:
11 void press_action() override {}
12};
13
14} // namespace demo
15} // namespace esphome
Base class for all buttons.
Definition button.h:29
void press_action() override
Definition demo_button.h:11
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7