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

Change _process_history_data to use a single unpack #27

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

uduncanu
Copy link

The data being sent appears to be little endian, which is what was preventing a single unpack from working. This replaces the multi-command process to a single one.

I've tested this with a LYWSD03MMC, but don't have a LYWSD02 on hand at present to check that that works with this change too.

Copy link

@53RT 53RT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great. It tested it with an entry of the LYWSD02 and got the same result.

@h4
Copy link
Owner

h4 commented Jan 3, 2021

@uduncanu @53RT thank you!

@h4 h4 merged commit 2ba1168 into h4:master Jan 3, 2021
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.

None yet

3 participants