Scripts not stopping everytime on "turn_off"

Hi,
I am trying the “dim-example”: https://www.home-assistant.io/cookbook/dim_and_brighten_lights/

Problem: The Automation which should stop the “dimming-loop” does not work everytime. I execute the automation on web-gui multiple times and then it works. The automation uses script.turn_off.

Is it possible, that there is bug in the software?

Best Regards,
Tobias

Did you ever have any luck figuring this one out? I think I am experiencing the same issue.

Nope, for the moment I gave up. My feeling is, that this problem has something to do with using an unvalidated extension for Hue – because otherwise the Dimmer-Switch would not be recognized. My feeling is, this extension may cause problems…