mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
Merge pull request #164 from reenx:fix_currtemp
fix curr temp when higher than 25.5
This commit is contained in:
@@ -495,8 +495,8 @@ void showInfo() {
|
||||
if (EMS_Thermostat.curr_roomTemp <= 0) {
|
||||
EMS_Thermostat.curr_roomTemp = EMS_VALUE_INT_NOTSET;
|
||||
}
|
||||
_renderIntValue("Setpoint room temperature", "C", EMS_Thermostat.setpoint_roomTemp, 2); // convert to a single byte * 2
|
||||
_renderIntValue("Current room temperature", "C", EMS_Thermostat.curr_roomTemp, 10); // is *10
|
||||
_renderShortValue("Setpoint room temperature", "C", (EMS_Thermostat.setpoint_roomTemp * 5), 1); // convert to a single byte * 2 (1 decimal but the value is original)
|
||||
_renderShortValue("Current room temperature", "C", EMS_Thermostat.curr_roomTemp, 1); // is *10
|
||||
}
|
||||
|
||||
// Render Day/Night/Holiday Temperature
|
||||
|
||||
Reference in New Issue
Block a user