From 382e899a33ff31e13cc6079768b1f9ab4933800e Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Sun, 20 Oct 2019 13:41:47 -0400 Subject: [PATCH] =?UTF-8?q?Fixed=20#158=20-=20Runtime=20Summary=20-=20Temp?= =?UTF-8?q?erature=20units=20are=20correct=20but=20values=20are=20in=20?= =?UTF-8?q?=C2=B0F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgot to convert that value to °C for my Metric friends. --- js/component/card/runtime_thermostat_summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/component/card/runtime_thermostat_summary.js b/js/component/card/runtime_thermostat_summary.js index fad8fcf..df1447d 100755 --- a/js/component/card/runtime_thermostat_summary.js +++ b/js/component/card/runtime_thermostat_summary.js @@ -379,7 +379,7 @@ beestat.component.card.runtime_thermostat_summary.prototype.get_buckets_combined bucket[key] = sum / bucket[key].length; if (key.substring(key.length - 11) === 'temperature') { - bucket[key] = Math.round(bucket[key] * 10) / 10; + bucket[key] = beestat.temperature(Math.round(bucket[key] * 10) / 10); } else { bucket[key] = Math.round(bucket[key]); }