1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-25 22:52:20 +01:00

Reduce ESP_LOGCONFIG calls (#9026)

This commit is contained in:
J. Nick Koston
2025-06-08 19:02:30 -05:00
committed by GitHub
parent 80dddb4cae
commit c0b05ada1a
218 changed files with 1569 additions and 931 deletions

View File

@@ -103,8 +103,10 @@ void PM2005Component::update() {
}
void PM2005Component::dump_config() {
ESP_LOGCONFIG(TAG, "PM2005:");
ESP_LOGCONFIG(TAG, " Type: PM2%u05", this->sensor_type_ == PM2105);
ESP_LOGCONFIG(TAG,
"PM2005:\n"
" Type: PM2%u05",
this->sensor_type_ == PM2105);
LOG_I2C_DEVICE(this);
if (this->is_failed()) {