mirror of
https://github.com/beestat/app.git
synced 2025-05-31 20:26:32 -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());
|
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.
|
// 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;
|
data.metadata.series.dummy.active = true;
|
||||||
|
|
||||||
if (runtime_sensors[current_m.valueOf()] !== undefined) {
|
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());
|
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.
|
// 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;
|
data.metadata.series.dummy.active = true;
|
||||||
|
|
||||||
var runtime_thermostat = runtime_thermostats[
|
var runtime_thermostat = runtime_thermostats[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user