mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +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");
|
ESP_LOGVV(TAG, "parse_device(): manufacturer data element length is expected to be of length 7");
|
||||||
return false;
|
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");
|
ESP_LOGVV(TAG, "parse_device(): unexpected data");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue