From 994c3a0f32e0f635c29d52eb738ec7222c5488a4 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 27 Apr 2021 11:43:53 +0200 Subject: [PATCH] Fix Tuya humidity resolution (3) Fix Tuya humidity resolution (3) (#11896) --- tasmota/xdrv_16_tuyamcu.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xdrv_16_tuyamcu.ino b/tasmota/xdrv_16_tuyamcu.ino index d2ccaef66..f34c56af2 100644 --- a/tasmota/xdrv_16_tuyamcu.ino +++ b/tasmota/xdrv_16_tuyamcu.ino @@ -787,6 +787,8 @@ void TuyaProcessStatePacket(void) { } else { if (fnId > 74) { res = 0; + } else if (fnId > 72) { + res = Settings.flag2.humidity_resolution; } else if (fnId == 72) { res = Settings.mbflag2.temperature_set_res; } else {