Skip to content

fix(autoisf): show lgsThreshold row in the AutoISF settings screen - #6

Merged
alex-poor merged 1 commit into
mainfrom
fix/autoisf-lgs-pref-visible
Nov 20, 2026
Merged

alex-poor merged 1 commit into
mainfrom
fix/autoisf-lgs-pref-visible

Conversation

@alex-poor

Copy link
Copy Markdown
Owner

The AdaptiveUnitPreference for ApsLgsThreshold was commented out of OpenAPSAutoISFPlugin's preference screen (active in OpenAPSSMBPlugin), so the row never appeared under the active AutoISF plugin even after PR #4 (algorithm) and PR #5 (key visibility). Uncommented it + added the import, matching the SMB plugin. Verified live (3.4.2.3-hovorka-lgspref): the row renders in the AutoISF settings screen (UI dump confirmed).

🤖 Generated with Claude Code

The AdaptiveUnitPreference for ApsLgsThreshold was commented out of
OpenAPSAutoISFPlugin's preference screen (it is active in OpenAPSSMBPlugin).
So even after honouring the pref in the algorithm and removing its DynISF
visibility dependency, the row never appeared under the active AutoISF
plugin's settings. Uncomment it (with the needed import), matching the SMB
plugin, so the Low Glucose Suspend threshold is actually settable on autoISF.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@alex-poor
alex-poor merged commit 0c9154a into main Nov 20, 2026
1 check failed
@alex-poor
alex-poor deleted the fix/autoisf-lgs-pref-visible branch November 20, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant