ESPHome
2025.10.0-dev
Loading...
Searching...
No Matches
esphome
components
bl0940
button
calibration_reset_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/button/button.h
"
5
6
namespace
esphome
{
7
namespace
bl0940 {
8
9
class
BL0940;
// Forward declaration of BL0940 class
10
11
class
CalibrationResetButton
:
public
button::Button
,
public
Component
,
public
Parented
<BL0940> {
12
public
:
13
void
dump_config
()
override
;
14
15
void
press_action
()
override
;
16
};
17
18
}
// namespace bl0940
19
}
// namespace esphome
button.h
esphome::Component
Definition
component.h:74
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:686
esphome::bl0940::CalibrationResetButton
Definition
calibration_reset_button.h:11
esphome::bl0940::CalibrationResetButton::dump_config
void dump_config() override
Definition
calibration_reset_button.cpp:12
esphome::bl0940::CalibrationResetButton::press_action
void press_action() override
Definition
calibration_reset_button.cpp:14
esphome::button::Button
Base class for all buttons.
Definition
button.h:26
component.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0