ESPHome 2025.5.0
Loading...
Searching...
No Matches
reconfig_buttons.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2420.h"
5
6namespace esphome {
7namespace ld2420 {
8
9class LD2420ApplyConfigButton : public button::Button, public Parented<LD2420Component> {
10 public:
12
13 protected:
14 void press_action() override;
15};
16
17class LD2420RevertConfigButton : public button::Button, public Parented<LD2420Component> {
18 public:
20
21 protected:
22 void press_action() override;
23};
24
25class LD2420RestartModuleButton : public button::Button, public Parented<LD2420Component> {
26 public:
28
29 protected:
30 void press_action() override;
31};
32
33class LD2420FactoryResetButton : public button::Button, public Parented<LD2420Component> {
34 public:
36
37 protected:
38 void press_action() override;
39};
40
41} // namespace ld2420
42} // namespace esphome
Helper class to easily give an object a parent of type T.
Definition helpers.h:538
Base class for all buttons.
Definition button.h:29
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7