Skip to content

Fixes lux value if lightlevel is 0 #6052

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

Merged
merged 2 commits into from
May 16, 2022
Merged

Conversation

Markkuuss
Copy link
Contributor

Fixes #6041

If lightlevel=0, the lux value was not set. Also, lux=0 was no longer possible.

Fixes dresden-elektronik#6041

If `lightlevel=0`, the `lux` value was not set. Also, `lux=0` was no longer possible.
According to this [documentation](https://dresden-elektronik.github.io/deconz-rest-doc/devices/philips/sml001_motion_sensor/#state-attributes_1) for `lightlevel` the addition of 0,5 is not correct
@manup manup added this to the v2.16.0-beta milestone May 16, 2022
@manup manup merged commit 5cd8143 into dresden-elektronik:master May 16, 2022
@manup manup modified the milestones: v2.16.0-beta, v2.16.1 May 16, 2022
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.

SML001 Lux=0 in API broken since v2.15.3
2 participants