ESPHome
2024.11.0
esphome
esphome
components
ld2410
button
reset_button.cpp
Go to the documentation of this file.
1
#include "
reset_button.h
"
2
3
namespace
esphome
{
4
namespace
ld2410 {
5
6
void
ResetButton::press_action
() { this->
parent_
->factory_reset(); }
7
8
}
// namespace ld2410
9
}
// namespace esphome
reset_button.h
esphome::Parented< LD2410Component >::parent_
LD2410Component * parent_
Definition:
helpers.h:533
esphome::ld2410::ResetButton::press_action
void press_action() override
Definition:
reset_button.cpp:6
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13