From 311980e0e478612a01020758d2b71bec2cd02fdc Mon Sep 17 00:00:00 2001 From: Samuel Sieb Date: Sun, 31 Jul 2022 18:08:19 -0700 Subject: [PATCH] Update inkbird_ibsth1_mini.cpp (#3664) --- esphome/components/inkbird_ibsth1_mini/inkbird_ibsth1_mini.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/inkbird_ibsth1_mini/inkbird_ibsth1_mini.cpp b/esphome/components/inkbird_ibsth1_mini/inkbird_ibsth1_mini.cpp index 76013e28ff..94c22ae84d 100644 --- a/esphome/components/inkbird_ibsth1_mini/inkbird_ibsth1_mini.cpp +++ b/esphome/components/inkbird_ibsth1_mini/inkbird_ibsth1_mini.cpp @@ -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; }