ESPHome
2024.10.2
esphome
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
{
8
namespace
ld2420 {
9
10
void
LD2420ApplyConfigButton::press_action
() { this->
parent_
->apply_config_action(); }
11
void
LD2420RevertConfigButton::press_action
() { this->
parent_
->revert_config_action(); }
12
void
LD2420RestartModuleButton::press_action
() { this->
parent_
->restart_module_action(); }
13
void
LD2420FactoryResetButton::press_action
() { this->
parent_
->factory_reset_action(); }
14
15
}
// namespace ld2420
16
}
// namespace esphome
esphome::ld2420::LD2420RevertConfigButton::press_action
void press_action() override
Definition:
reconfig_buttons.cpp:11
esphome::ld2420::LD2420FactoryResetButton::press_action
void press_action() override
Definition:
reconfig_buttons.cpp:13
esphome::Parented< LD2420Component >::parent_
LD2420Component * parent_
Definition:
helpers.h:532
reconfig_buttons.h
esphome::ld2420::LD2420ApplyConfigButton::press_action
void press_action() override
Definition:
reconfig_buttons.cpp:10
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
helpers.h
log.h
esphome::ld2420::LD2420RestartModuleButton::press_action
void press_action() override
Definition:
reconfig_buttons.cpp:12
Generated by
1.8.13