ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
restart_button.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2412.h"
5
6namespace esphome::ld2412 {
7
8class RestartButton : public button::Button, public Parented<LD2412Component> {
9 public:
10 RestartButton() = default;
11
12 protected:
13 void press_action() override;
14};
15
16} // namespace esphome::ld2412
Helper class to easily give an object a parent of type T.
Definition helpers.h:1102
Base class for all buttons.
Definition button.h:25