1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-24 20:53:48 +01:00

[hdc1080] Make HDC1080_CMD_CONFIGURATION failure a warning (and log it) (#11355)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Peter Zich
2025-10-20 06:13:13 -07:00
committed by GitHub
parent 63f100a8ca
commit 03def13917

View File

@@ -16,7 +16,8 @@ void HDC1080Component::setup() {
// if configuration fails - there is a problem
if (this->write_register(HDC1080_CMD_CONFIGURATION, config, 2) != i2c::ERROR_OK) {
this->mark_failed();
ESP_LOGW(TAG, "Failed to configure HDC1080");
this->status_set_warning();
return;
}
}