Skip to content

Interrupted transitions in off/on need improvement #5446

@DedeHai

Description

@DedeHai

What happened?

When using any transition for turning LEDs on and off other than fade, an interrupted transition will extend the transition timer but not the transition itself. Once the transition has finished visually, it has not finished internally and within that timeframe, no transition will happen as it is already "marked as done". See the rabbits explanation here: #5443 (comment)

To Reproduce Bug

set transition to 5s, choose any transition type except fade, fairy dust for example. power leds off and while in transition power on again, then off again before the transition completes -> now the on off transition is broken and wont do fairy dust but instant on/off, only after waiting 5s after the last click action will it reset.

Expected Behavior

reset internals immediately after visual transition is done.

Install Method

Self-Compiled

What version of WLED?

16.0

Which microcontroller/board are you seeing the problem on?

ESP32-C3

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions