itavero / homebridge-z2m

Expose your Zigbee devices to HomeKit with ease, by integrating 🐝 Zigbee2MQTT with 🏠 Homebridge.
https://z2m.dev
Apache License 2.0
312 stars 49 forks source link

Add special handling for very low brightness values #863

Closed burmistrzak closed 4 months ago

burmistrzak commented 4 months ago

An improved (and tested) version of https://github.com/itavero/homebridge-z2m/pull/674, that simply prevents HomeKit from rounding down very low brightness values, while leaving all other numeric characteristics unaffected.

Fixes https://github.com/itavero/homebridge-z2m/issues/673

burmistrzak commented 4 months ago

@itavero When finally merged, Z2M will provide a better UX than certified bridges! (Yes, Philips Hue also has this issue...) 😅

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 4 months ago

:x: Failed to run SonarCloud and/or code coverage step.