From c927997d6944e6be129e5a8bdcd21f53bab40e19 Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Wed, 7 Sep 2022 10:26:46 +0200 Subject: [PATCH] 0.5C granularity is enough and reduce number of KVS updates --- pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool.js b/pool.js index 574109b..7bda37f 100644 --- a/pool.js +++ b/pool.js @@ -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;