mirror of https://github.com/esphome/esphome.git
19 lines
338 B
C++
19 lines
338 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../ld2450.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2450 {
|
|
|
|
class RestartButton : public button::Button, public Parented<LD2450Component> {
|
|
public:
|
|
RestartButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace ld2450
|
|
} // namespace esphome
|