ESPHome  2024.11.1
atm90e32_button.h
Go to the documentation of this file.
1 #pragma once
2 
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:
21 
22  protected:
23  void press_action() override;
24 };
25 
26 } // namespace atm90e32
27 } // namespace esphome
Base class for all buttons.
Definition: button.h:29
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Helper class to easily give an object a parent of type T.
Definition: helpers.h:522