1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-25 13:13:48 +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

@@ -21,8 +21,10 @@ void PCF8574LCDDisplay::setup() {
LCDDisplay::setup();
}
void PCF8574LCDDisplay::dump_config() {
ESP_LOGCONFIG(TAG, "PCF8574 LCD Display:");
ESP_LOGCONFIG(TAG, " Columns: %u, Rows: %u", this->columns_, this->rows_);
ESP_LOGCONFIG(TAG,
"PCF8574 LCD Display:\n"
" Columns: %u, Rows: %u",
this->columns_, this->rows_);
LOG_I2C_DEVICE(this);
LOG_UPDATE_INTERVAL(this);
if (this->is_failed()) {