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 wrong bitshift for Heiman battery status #164

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Conversation

AndiGS94
Copy link
Contributor

We forgot to fix the bitshift for the battery status. Sorry.

@merlinschumacher

We forgot to fix the bitshift for the battery status. Sorry.

@merlinschumacher
@Koenkk Koenkk merged commit 20372af into Koenkk:master Dec 13, 2018
@ryanbeaton
Copy link

Should probably change the comment next to it as well.

@ctandi
Copy link
Contributor

ctandi commented Dec 14, 2018

Should probably change the comment next to it as well.

The comment is correct. If you shift the pointer of the first bit by three, you're at the fourth bit, which is the battery low indicator.

qosmio pushed a commit to qosmio/zigbee-herdsman-converters that referenced this pull request Dec 25, 2019
We forgot to fix the bitshift for the battery status. Sorry.

@merlinschumacher
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.

4 participants