KaufHA / kauf-rgbww-bulbs

Files for the KAUF RGBWW Smart Bulbs
39 stars 18 forks source link

Fix Changing Effect During Active Transition from Running Effect #53

Closed TikiBill closed 6 months ago

TikiBill commented 6 months ago

A lot of effects will have transitions. The way the code currently works, if the call to change/stop an effect is done while a transition from said effect is running, it will cause a "Double light call detected" and not change the effect. This code change allows the publish to go through if there is an effect included in it, making it more reliable to change/stop an effect.

KaufHA commented 6 months ago

Looks good. Thanks for submitting.