From b39adacc41eeed0cc2672ff2c2eb7460cac0a5e1 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 19 Oct 2023 17:44:59 +0200 Subject: [PATCH] Fix HTU21 bus number --- tasmota/tasmota_xsns_sensor/xsns_08_htu21.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_08_htu21.ino b/tasmota/tasmota_xsns_sensor/xsns_08_htu21.ino index a378de52d..311854dcb 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_08_htu21.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_08_htu21.ino @@ -229,7 +229,7 @@ void HtuDetect(void) { Htu.delay_humidity = 23; } GetTextIndexed(Htu.types, sizeof(Htu.types), index, kHtuTypes); - I2cSetActiveFound(Htu.address, Htu.types); + I2cSetActiveFound(Htu.address, Htu.types, Htu.bus); break; } }