mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Decreased smoothing on Thermostat Runtime Detail
This commit is contained in:
parent
52f180ed02
commit
a85b1a3187
@ -396,7 +396,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_data_ = function(
|
|||||||
var moving = [];
|
var moving = [];
|
||||||
var moving_count;
|
var moving_count;
|
||||||
if (beestat.setting('runtime_thermostat_detail_smoothing') === true) {
|
if (beestat.setting('runtime_thermostat_detail_smoothing') === true) {
|
||||||
moving_count = 15;
|
moving_count = 10;
|
||||||
} else {
|
} else {
|
||||||
moving_count = 1;
|
moving_count = 1;
|
||||||
}
|
}
|
||||||
@ -786,6 +786,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_average_ = functi
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return average / count;
|
return average / count;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user