mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 16:25:50 +00:00
17 lines
312 B
C++
17 lines
312 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../ld2410.h"
|
|
|
|
namespace esphome::ld2410 {
|
|
|
|
class RestartButton : public button::Button, public Parented<LD2410Component> {
|
|
public:
|
|
RestartButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace esphome::ld2410
|