mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Introduce "communication failed" log macro (#8939)
This commit is contained in:
@@ -105,7 +105,7 @@ void LTRAlsPsComponent::dump_config() {
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, "Communication with I2C LTR-303/329/55x/659 failed!");
|
||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user