esp8266_milight_hub
esp8266_milight_hub copied to clipboard
Creating a new transition for a bulb should cancel any older transitions that conflict with it.
See #544 for context.
Current behavior
- Schedule a brightness transition for bulb X from 0 -> 100
- Wait for some time
- Schedule another brightness transition for bulb X from 0 -> 100
There will now be two active transitions with no knowledge of one another. The visible effect is that the bulb will "flicker"
Desired behavior
When scheduling a new transition for field F on bulb X, any active transitions for field F on bulb X should be cancelled.