1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00: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 Jesse Hills
parent ebc0f5f7c9
commit de2f475dbd

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;
}
}