1
0
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:
Jon Ziebell 2020-01-16 18:54:40 -05:00
parent 52f180ed02
commit a85b1a3187

View File

@ -396,7 +396,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_data_ = function(
var moving = [];
var moving_count;
if (beestat.setting('runtime_thermostat_detail_smoothing') === true) {
moving_count = 15;
moving_count = 10;
} else {
moving_count = 1;
}
@ -786,6 +786,7 @@ beestat.component.card.runtime_thermostat_detail.prototype.get_average_ = functi
count++;
}
}
return average / count;
};