From ff910f1289fb7c03a2c5158723a3b1f26969ed76 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 23 Feb 2022 22:39:15 +0100 Subject: [PATCH] Combo plugin: provide BaseBasalRate in JSON (for NS). Fixes #1256. --- .../nightscout/androidaps/plugins/pump/combo/ComboPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboPlugin.java b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboPlugin.java index 197a4f70b6..d5ac43d7f8 100644 --- a/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboPlugin.java +++ b/combo/src/main/java/info/nightscout/androidaps/plugins/pump/combo/ComboPlugin.java @@ -1309,6 +1309,7 @@ public class ComboPlugin extends PumpPluginBase implements Pump, Constraints { if (ps.activeAlert != null && ps.activeAlert.errorCode != null) { extendedJson.put("ErrorCode", ps.activeAlert.errorCode); } + extendedJson.put("BaseBasalRate", getBaseBasalRate()); pumpJson.put("extended", extendedJson); JSONObject batteryJson = new JSONObject();