diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index 721907f831..bf65106bce 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -293,7 +293,7 @@ class OmnipodDashPumpPlugin @Inject constructor( throw IllegalArgumentException("Illegal recording in history: $record. Expected a temp basal") } val ret = pumpSync.syncTemporaryBasalWithPumpId( - timestamp = historyEntry.pumpId(), + timestamp = historyEntry.createdAt, rate = record.rate, duration = record.duration.toLong(), isAbsolute = true,