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 light sensor rounding #1295

Merged
merged 2 commits into from
Apr 6, 2022
Merged

Fix light sensor rounding #1295

merged 2 commits into from
Apr 6, 2022

Conversation

dnicolson
Copy link
Contributor

This pull request rounds the light sensor lux value to prevent layout issues. Values below 1 are rounded to a single decimal place, this matches the behavior of the Home app.

Before:
PixelSnap 2022-02-22 at 20 19 18@2x

After:
PixelSnap 2022-02-22 at 20 18 32@2x

@oznu oznu merged commit 700cba5 into homebridge:master Apr 6, 2022
@oznu
Copy link
Member

oznu commented Apr 6, 2022

Thanks!

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