mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -85,8 +85,10 @@ float HONEYWELLABPSensor::get_setup_priority() const { return setup_priority::LA
|
||||
void HONEYWELLABPSensor::dump_config() {
|
||||
// LOG_SENSOR("", "HONEYWELLABP", this);
|
||||
LOG_PIN(" CS Pin: ", this->cs_);
|
||||
ESP_LOGCONFIG(TAG, " Min Pressure Range: %0.1f", honeywellabp_min_pressure_);
|
||||
ESP_LOGCONFIG(TAG, " Max Pressure Range: %0.1f", honeywellabp_max_pressure_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Min Pressure Range: %0.1f\n"
|
||||
" Max Pressure Range: %0.1f",
|
||||
honeywellabp_min_pressure_, honeywellabp_max_pressure_);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user