When doing an channel.add_fade, the fade starts from values [0, 0], instead of transitioning from the current values.
This means that in the below example, the second fade makes the light go off first, then transitions to the actual value. A consequence is also that fading to black is always instant.
I'm not adept enough to write a unit test for it, but here's a reproduction scenario at least:
When doing an
channel.add_fade
, the fade starts from values[0, 0]
, instead of transitioning from the current values.This means that in the below example, the second fade makes the light go off first, then transitions to the actual value. A consequence is also that fading to black is always instant.
I'm not adept enough to write a unit test for it, but here's a reproduction scenario at least: