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 d6d128a7cb..99133748f3 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 @@ -395,6 +395,7 @@ class OmnipodDashPumpPlugin @Inject constructor( OmnipodCommandType.SET_TEMPORARY_BASAL -> // This treatment was synced before sending the command if (!confirmation.success) { + // TODO: the ID here is the temp basal id, not the pumpId!! pumpSync.invalidateTemporaryBasal(historyEntry.pumpId()) }