[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 09:13:13 -04:00
committed by GitHub
co-authored by J. Nick Koston
parent 63f100a8ca
commit 03def13917
+2 -1
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;
}
}