robheyes / lifxcode

40 stars 21 forks source link

Update LIFXMultiZone.groovy #94

Closed ngaustad closed 4 years ago

ngaustad commented 4 years ago

Fixed issue where duration was not using seconds.

ngaustad commented 4 years ago

The duration for multizone lights (I do not own any other lifx lights so I'm not sure if this issue exists there) was always happening instantly regardless of what I set the duration to, in testing if I set the duration to 5000 it would take 5 seconds, it looks like this bit of the code was not accounting for the millisecond conversion.