mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-30 01:38:27 +02:00
4bbde8357a
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Peter Pan <twinkle-pirate@hotmail.com>
19 lines
364 B
C++
19 lines
364 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../seeed_mr24hpc1.h"
|
|
|
|
namespace esphome {
|
|
namespace seeed_mr24hpc1 {
|
|
|
|
class RestartButton : public button::Button, public Parented<MR24HPC1Component> {
|
|
public:
|
|
RestartButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace seeed_mr24hpc1
|
|
} // namespace esphome
|