mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 16:22:22 +01:00
16 lines
267 B
C++
16 lines
267 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome {
|
|
namespace demo {
|
|
|
|
class DemoButton : public button::Button {
|
|
protected:
|
|
void press_action() override {}
|
|
};
|
|
|
|
} // namespace demo
|
|
} // namespace esphome
|