nightscout / Trio

MIT License
64 stars 259 forks source link

Remove external insulin event #110

Closed BrianWieder closed 4 months ago

BrianWieder commented 4 months ago

102 points out that there was the external insulin event type that was only ever used by NS.

This PR prefixes the external insulin event type with ns to signify that is an nightscout only event type, and moves the logic for creating the NightscoutTreatment from a PumpHistoryEvent into a NightscoutTreatment initializer.

Also fixes typo NigtscoutTreatment -> NightscoutTreatment

bjornoleh commented 4 months ago

Merging into dev after review by @avouspierre