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:
parent
5d78e0e12e
commit
bc1e573dfd
@ -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) {
|
||||
|
@ -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[
|
||||
|
Loading…
x
Reference in New Issue
Block a user