mirror of
https://github.com/esphome/esphome.git
synced 2025-09-08 22:32:21 +01:00
Introduce "communication failed" log macro (#8939)
This commit is contained in:
@@ -49,7 +49,7 @@ void PCA9554Component::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, " I/O Pins: %d", this->pin_count_);
|
||||
LOG_I2C_DEVICE(this)
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, "Communication with PCA9554 failed!");
|
||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user