Merge pull request #1368 from jotomo/dev
Combo plugin: provide BaseBasalRate in JSON (for NS). Fixes #1256.
This commit is contained in:
commit
2050881d5d
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue