0.5C granularity is enough and reduce number of KVS updates

This commit is contained in:
Gilles Grandou 2022-09-07 10:26:46 +02:00
parent 13e59a2615
commit c927997d69
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ function update_temp(temp) {
}
status.lock_update = true;
status.temp = Math.round(temp * 10) / 10;
status.temp = Math.round(temp * 2) / 2;
if (status.temp > status.temp_today || status.temp_today === null) {
status.temp_today = status.temp;