mirror of
https://github.com/esphome/esphome.git
synced 2025-04-12 05:40:29 +01:00
Co-authored-by: descipher <mike.laspina@gelidus.ca> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
28 lines
634 B
C++
28 lines
634 B
C++
#pragma once
|
|
|
|
#include "esphome/core/component.h"
|
|
#include "esphome/components/atm90e32/atm90e32.h"
|
|
#include "esphome/components/button/button.h"
|
|
|
|
namespace esphome {
|
|
namespace atm90e32 {
|
|
|
|
class ATM90E32CalibrationButton : public button::Button, public Parented<ATM90E32Component> {
|
|
public:
|
|
ATM90E32CalibrationButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
class ATM90E32ClearCalibrationButton : public button::Button, public Parented<ATM90E32Component> {
|
|
public:
|
|
ATM90E32ClearCalibrationButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace atm90e32
|
|
} // namespace esphome
|