ESPHome 2025.10.0-dev
Loading...
Searching...
No Matches
calibration_reset_button.cpp
Go to the documentation of this file.
2#include "../bl0940.h"
3#include "esphome/core/hal.h"
4#include "esphome/core/log.h"
6
7namespace esphome {
8namespace bl0940 {
9
10static const char *const TAG = "bl0940.button.calibration_reset";
11
12void CalibrationResetButton::dump_config() { LOG_BUTTON("", "Calibration Reset Button", this); }
13
15 ESP_LOGI(TAG, "Resetting calibration defaults...");
16 this->parent_->reset_calibration();
17}
18
19} // namespace bl0940
20} // namespace esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7