ESPHome  2024.11.1
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
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7