ESPHome
2025.12.1
Loading...
Searching...
No Matches
esphome
components
ld2420
button
reconfig_buttons.cpp
Go to the documentation of this file.
1
#include "
reconfig_buttons.h
"
2
#include "
esphome/core/helpers.h
"
3
#include "
esphome/core/log.h
"
4
5
static
const
char
*
const
TAG =
"ld2420.button"
;
6
7
namespace
esphome::ld2420
{
8
9
void
LD2420ApplyConfigButton::press_action
() { this->
parent_
->apply_config_action(); }
10
void
LD2420RevertConfigButton::press_action
() { this->
parent_
->revert_config_action(); }
11
void
LD2420RestartModuleButton::press_action
() { this->
parent_
->restart_module_action(); }
12
void
LD2420FactoryResetButton::press_action
() { this->
parent_
->factory_reset_action(); }
13
14
}
// namespace esphome::ld2420
esphome::Parented< LD2420Component >::parent_
LD2420Component * parent_
Definition
helpers.h:943
esphome::ld2420::LD2420ApplyConfigButton::press_action
void press_action() override
Definition
reconfig_buttons.cpp:9
esphome::ld2420::LD2420FactoryResetButton::press_action
void press_action() override
Definition
reconfig_buttons.cpp:12
esphome::ld2420::LD2420RestartModuleButton::press_action
void press_action() override
Definition
reconfig_buttons.cpp:11
esphome::ld2420::LD2420RevertConfigButton::press_action
void press_action() override
Definition
reconfig_buttons.cpp:10
helpers.h
log.h
esphome::ld2420
Definition
ld2420_binary_sensor.cpp:5
reconfig_buttons.h
Generated by
1.12.0