Skip to content
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

Fix case-mangling issue #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gbsallery
Copy link

@gbsallery gbsallery commented May 22, 2023

As with some others, I'm still getting occasional issues whereby the rolling code for a shutter gets written to a lowercase copy of the ID. Obviously, this only happens when you have more than 10 blinds, causing the IDs (which are in hex) to contain alphabetical characters rather than just numbers.

As a crude fix, without doing a full root-cause analysis (as Python is not really my bag), this PR forces the code to be uppercased before writing. This should fix the issue, if not the confusion (so long as your shutter IDs are in uppercase in the first place).

@malys
Copy link

malys commented Jun 16, 2023

See @gbsallery #159, To be consistent I force it to lower case to respect the initial format. For me, It works fine.

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.

2 participants