ESPHome  2024.4.1
template_button.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace esphome {
6 namespace template_ {
7 
8 class TemplateButton : public button::Button {
9  public:
10  // Implements the abstract `press_action` but the `on_press` trigger already handles the press.
11  void press_action() override{};
12 };
13 
14 } // namespace template_
15 } // namespace esphome
Base class for all buttons.
Definition: button.h:29
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7