mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 12:43:28 +02:00
16 lines
346 B
C++
16 lines
346 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
|
|
namespace esphome {
|
|
namespace template_ {
|
|
|
|
class TemplateButton : public button::Button {
|
|
public:
|
|
// Implements the abstract `press_action` but the `on_press` trigger already handles the press.
|
|
void press_action() override{};
|
|
};
|
|
|
|
} // namespace template_
|
|
} // namespace esphome
|