mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Change HDC1080 init instruction failure from error to warning (#2927)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
parent
99bd808ebe
commit
e152f128c8
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ void HDC1080Component::setup() {
|
|||
};
|
||||
|
||||
if (!this->write_bytes(HDC1080_CMD_CONFIGURATION, data, 2)) {
|
||||
this->mark_failed();
|
||||
// as instruction is same as powerup defaults (for now), interpret as warning if this fails
|
||||
ESP_LOGW(TAG, "HDC1080 initial config instruction error");
|
||||
this->status_set_warning();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue