Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug that changed brightness at each hsv update
The HSV setter should accept a percentage for the brightness value but actually assumed the brightness to be in absolute values between 1 and 255. This resulted in brightness reductions at each HSV update, in steps of 100% -> 100/255=39% -> 39/255=15% -> ... (see also home-assistant/core#15582, where I originally reported this bug).
- Loading branch information