1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed Runtime Detail tooltips showing wrong Celsius values

Caused by #206; Forgot to do a convert on the new values.
This commit is contained in:
Jon Ziebell 2020-01-29 08:32:40 -05:00
parent 334e9be9a3
commit cc71ede3b8

View File

@ -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;