ESPHome
2024.11.1
esphome
esphome
components
atm90e32
button
atm90e32_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/atm90e32/atm90e32.h
"
5
#include "
esphome/components/button/button.h
"
6
7
namespace
esphome
{
8
namespace
atm90e32 {
9
10
class
ATM90E32CalibrationButton
:
public
button::Button
,
public
Parented
<ATM90E32Component> {
11
public
:
12
ATM90E32CalibrationButton
() =
default
;
13
14
protected
:
15
void
press_action
()
override
;
16
};
17
18
class
ATM90E32ClearCalibrationButton
:
public
button::Button
,
public
Parented
<ATM90E32Component> {
19
public
:
20
ATM90E32ClearCalibrationButton
() =
default
;
21
22
protected
:
23
void
press_action
()
override
;
24
};
25
26
}
// namespace atm90e32
27
}
// namespace esphome
atm90e32.h
esphome::atm90e32::ATM90E32CalibrationButton
Definition:
atm90e32_button.h:10
esphome::button::Button
Base class for all buttons.
Definition:
button.h:29
esphome::atm90e32::ATM90E32CalibrationButton::press_action
void press_action() override
Definition:
atm90e32_button.cpp:9
button.h
esphome::atm90e32::ATM90E32ClearCalibrationButton
Definition:
atm90e32_button.h:18
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition:
helpers.h:522
esphome::atm90e32::ATM90E32CalibrationButton::ATM90E32CalibrationButton
ATM90E32CalibrationButton()=default
Generated by
1.8.13