ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
tfluna
button
reset_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/button/button.h
"
4
#include "
../tfluna.h
"
5
6
namespace
esphome::tfluna
{
7
8
class
ResetButton
:
public
button::Button
,
public
Parented
<TFLuna> {
9
protected
:
10
void
press_action
()
override
;
11
};
12
13
}
// namespace esphome::tfluna
button.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:1997
esphome::button::Button
Base class for all buttons.
Definition
button.h:25
esphome::tfluna::ResetButton
Definition
reset_button.h:8
esphome::tfluna::ResetButton::press_action
void press_action() override
Definition
reset_button.cpp:5
esphome::tfluna
Definition
reset_button.cpp:3
tfluna.h
Generated by
1.12.0