mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
Fix Tuya humidity resolution (3)
Fix Tuya humidity resolution (3) (#11896)
This commit is contained in:
parent
06667d98fa
commit
994c3a0f32
@ -787,6 +787,8 @@ void TuyaProcessStatePacket(void) {
|
|||||||
} else {
|
} else {
|
||||||
if (fnId > 74) {
|
if (fnId > 74) {
|
||||||
res = 0;
|
res = 0;
|
||||||
|
} else if (fnId > 72) {
|
||||||
|
res = Settings.flag2.humidity_resolution;
|
||||||
} else if (fnId == 72) {
|
} else if (fnId == 72) {
|
||||||
res = Settings.mbflag2.temperature_set_res;
|
res = Settings.mbflag2.temperature_set_res;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user