Skip to content

Sanitize Nightscout target ranges before calculations#36

Merged
ItsLimeNade merged 2 commits into
ItsLimeNade:mainfrom
yorunoken:sanitize-ns-ranges
Jun 21, 2026
Merged

Sanitize Nightscout target ranges before calculations#36
ItsLimeNade merged 2 commits into
ItsLimeNade:mainfrom
yorunoken:sanitize-ns-ranges

Conversation

@yorunoken

Copy link
Copy Markdown
Collaborator

Closes #34.

This PR Sanitizes target ranges sent from Nightscout.
Before, if NS sent a target range such as 0, or 10, Beetroot would use it blindly resulting in graphs and tir looking like you're high 24/7 due to a misconfigured NS.

@yorunoken yorunoken self-assigned this Jun 19, 2026
@yorunoken yorunoken added the bug Something isn't working label Jun 19, 2026
@yorunoken yorunoken requested a review from ItsLimeNade June 19, 2026 12:58
@ItsLimeNade ItsLimeNade merged commit 8b7a0d5 into ItsLimeNade:main Jun 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sanitize nightscout target values

2 participants