From cc71ede3b83b7d51dbdb4fa6d174425ad1371bc0 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 29 Jan 2020 08:32:40 -0500 Subject: [PATCH] Fixed Runtime Detail tooltips showing wrong Celsius values Caused by #206; Forgot to do a convert on the new values. --- js/component/card/runtime_thermostat_detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/component/card/runtime_thermostat_detail.js b/js/component/card/runtime_thermostat_detail.js index d90b4c2..00036e0 100644 --- a/js/component/card/runtime_thermostat_detail.js +++ b/js/component/card/runtime_thermostat_detail.js @@ -444,7 +444,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_data_ = function( ); data.series.indoor_temperature.push(indoor_temperature_moving); data.metadata.series.indoor_temperature.data[current_m.valueOf()] = - runtime_thermostat.indoor_temperature; + beestat.temperature(runtime_thermostat.indoor_temperature); y_min_max(indoor_temperature_moving); data.metadata.series.indoor_temperature.active = true; @@ -453,7 +453,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_data_ = function( ); data.series.outdoor_temperature.push(outdoor_temperature_moving); data.metadata.series.outdoor_temperature.data[current_m.valueOf()] = - runtime_thermostat.outdoor_temperature; + beestat.temperature(runtime_thermostat.outdoor_temperature); y_min_max(outdoor_temperature_moving); data.metadata.series.outdoor_temperature.active = true;