mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Log
This commit is contained in:
parent
6e38a2a991
commit
d1dc898320
@ -62,17 +62,17 @@ void MHZ19Component::update() {
|
||||
}
|
||||
|
||||
void MHZ19Component::calibrate_zero() {
|
||||
ESP_LOGI(TAG, "MHZ19 Calibrating zero point");
|
||||
ESP_LOGD(TAG, "MHZ19 Calibrating zero point");
|
||||
this->mhz19_write_command_(MHZ19_COMMAND_CALIBRATE_ZERO, nullptr);
|
||||
}
|
||||
|
||||
void MHZ19Component::abc_enable() {
|
||||
ESP_LOGI(TAG, "MHZ19 Enabling ABC");
|
||||
ESP_LOGD(TAG, "MHZ19 Enabling automatic baseline calibration");
|
||||
this->mhz19_write_command_(MHZ19_COMMAND_ABC_ENABLE, nullptr);
|
||||
}
|
||||
|
||||
void MHZ19Component::abc_disable() {
|
||||
ESP_LOGI(TAG, "MHZ19 Disabling ABC");
|
||||
ESP_LOGD(TAG, "MHZ19 Disabling automatic baseline calibration");
|
||||
this->mhz19_write_command_(MHZ19_COMMAND_ABC_DISABLE, nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user