parser/nightscout: add rate field for temp basals for autotune compatibility (fixes #7)

This commit is contained in:
James Woglom
2021-05-03 23:57:58 -04:00
parent 73757801f8
commit dc32812ede
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ class TestNightscoutEntry(unittest.TestCase):
"reason": "",
"duration": 30,
"absolute": 1.05,
"rate": 1.05,
"created_at": "2021-03-16 00:25:21-04:00",
"carbs": None,
"insulin": None,
@@ -33,6 +34,7 @@ class TestNightscoutEntry(unittest.TestCase):
"reason": "Correction",
"duration": 5,
"absolute": 0.95,
"rate": 0.95,
"created_at": "2021-03-16 12:25:21-04:00",
"carbs": None,
"insulin": None,