Open GavinIves opened 4 months ago
I can't confirm your words. My groups has same model and they works with 65535 maximum. I don't know how we can detect exact maximum for our groups it that case.
In my case, I set the brightness of the light group to 1% through the plug-in, but it actually becomes 25.5%, and so on. So I feel that the brightness of the light group has been converted incorrectly. I changed the code of the light group to the above and everything is normal. Is it just my case?
I have the same problem, and it works well when I change the 'max' parameter to 100. This link indicates that the brightness unit is a percentage, with a scope ranging from 1 to 100.
You can write custom converter for your case. I don't know another way for solving this. I have this group with brightness 65535 as maximum.
Using Mi Home to create a light group, the brightness mapping adjustment for this light group is incorrect. Setting 10% will become 26%, because it is multiplied by 255. I hope this bug can be fixed.