fix fallback to createBucketedDataRecalculated

This commit is contained in:
Milos Kozak 2018-10-13 09:59:25 +02:00
parent 4d5ee23245
commit 20fa8ed371

View file

@ -298,7 +298,7 @@ public class IobCobCalculatorPlugin extends PluginBase {
// too big adjustment, fallback to non 5 min data
if (L.isEnabled(L.AUTOSENS))
log.debug("Fallback to non 5 min data");
createBucketedData();
createBucketedDataRecalculated();
return;
}
current.date = previous.date + T.mins(5).msecs();