mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
Update inkbird_ibsth1_mini.cpp (#3664)
This commit is contained in:
parent
df73170e5a
commit
311980e0e4
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ bool InkbirdIbstH1Mini::parse_device(const esp32_ble_tracker::ESPBTDevice &devic
|
|||
ESP_LOGVV(TAG, "parse_device(): manufacturer data element length is expected to be of length 7");
|
||||
return false;
|
||||
}
|
||||
if (mnf_data.data[6] != 8) {
|
||||
if ((mnf_data.data[6] != 8) && (mnf_data.data[6] != 6)) {
|
||||
ESP_LOGVV(TAG, "parse_device(): unexpected data");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue