mirror of
https://github.com/esphome/esphome.git
synced 2025-03-27 13:08:20 +00:00
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Marcus Better <marcus@better.se> Co-authored-by: Trevor Schirmer <24777085+TrevorSchirmer@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
19 lines
334 B
C++
19 lines
334 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../ld2450.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2450 {
|
|
|
|
class ResetButton : public button::Button, public Parented<LD2450Component> {
|
|
public:
|
|
ResetButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace ld2450
|
|
} // namespace esphome
|