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

Fixed dummy series being too high for °C users.

This commit is contained in:
Jon Ziebell 2020-02-11 06:39:18 -05:00
parent 5d78e0e12e
commit bc1e573dfd
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ beestat.runtime_sensor.get_data = function(thermostat_id, range) {
data.x.push(current_m.clone());
// Without this series the chart will jump to the nearest value if there is a chunk of missing data.
data.series.dummy.push(70);
data.series.dummy.push(beestat.temperature(70));
data.metadata.series.dummy.active = true;
if (runtime_sensors[current_m.valueOf()] !== undefined) {

View File

@ -165,7 +165,7 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range) {
data.x.push(current_m.clone());
// Without this series the chart will jump to the nearest value if there is a chunk of missing data.
data.series.dummy.push(70);
data.series.dummy.push(beestat.temperature(70));
data.metadata.series.dummy.active = true;
var runtime_thermostat = runtime_thermostats[