Wrapped humidity set in TuyaAdjustedTemperature

This commit is contained in:
jaymemaurice 2021-03-30 02:50:34 +00:00
parent a171e3c5f2
commit 9e304fd127

View File

@ -1336,7 +1336,7 @@ void TuyaSensorsShow(bool json)
break; break;
case 74: case 74:
WSContentSend_PD(PSTR("{s}" D_HUMIDITY " Set{m}%s " D_UNIT_PERCENT "{e}"), WSContentSend_PD(PSTR("{s}" D_HUMIDITY " Set{m}%s " D_UNIT_PERCENT "{e}"),
dtostrfd(Tuya.Sensors[3], Settings.flag2.temperature_resolution, tempval)); dtostrfd(TuyaAdjustedTemperature(Tuya.Sensors[3], Settings.flag2.temperature_resolution), Settings.flag2.temperature_resolution, tempval));
break; break;
case 75: case 75:
WSContentSend_PD(HTTP_SNS_ILLUMINANCE, "", Tuya.Sensors[4]); WSContentSend_PD(HTTP_SNS_ILLUMINANCE, "", Tuya.Sensors[4]);