-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rename smbIsAlwaysOff to smbIsScheduledOff #20
Conversation
To me it look there is only small things off, pun intended. In OiAPS the two variables should be switched:
And if smbIsScheduledOff gets toggled to true, the smbIsOff must toggle false. If that is done the oiref code should be fine. … edited to reflect variable name change |
Yes, that would make more sense. I’ll put together a PR for the Oi repo instead and close this one. |
@mountrcg If we're changing them anyway, I think |
Agreed, that's a more descriptive name for that variable. I'll take another look later if you are changing this PR or creating another in OiAPS? |
@bjornoleh It will require a PR to the Oi repo, but I'm not sure if I'll open a new one or just modify this one to match the updated variable names. EDIT: I don't think I'll get to it today, but will definitely get it done by tomorrow (4/17). |
0c36d1a
to
a29d9ce
Compare
Everything here looks good to me. I agree with the variable renames |
I agree that this looks good, and I have successfully tested this in OiAPS too. |
More importantly, it reverts the swapping of
smbIsOff
andsmbIsAlwaysOff
smbIsScheduledOff
Must be merged in tandem with nightscout/Trio#120