mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 08:55:22 +01:00
Update inkbird_ibsth1_mini.cpp (#3664)
This commit is contained in:
parent
e809488cc0
commit
54427eac9a
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