jakelehner / Hubitat

Other
8 stars 10 forks source link

New BR30 color bulbs will not dim - everything else seems to work properly. #12

Open gleep52 opened 1 year ago

gleep52 commented 1 year ago

I was able to find a homebridge plugin by someone that the dimming works with - but I do not know the intricacies of programming to decipher the differences between hubitat and homebridge and ... yeah. Right now if I try to dim in Hubitat, the BR30 Color bulbs (spot light bulbs) will show this in the logs:

groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.min() is applicable for argument types: (java.lang.Integer) values: [100] Possible solutions: min(int, int), find(), max(int, int), find(groovy.lang.Closure), minus(java.lang.Number), div(java.lang.Character) on line 160 (method setLevel)

The homebridge plugin that allows dimming to work is here: https://github.com/RMCob/homebridge-wyze-connected-home-op

I wasn't sure if this was an easy fix for you or not - but the appreciation is there for all you do! Thank you thank you thank you!