Oke i got all the lights connected again and i am trying to explain how it works.
When i Push the button once it will set the light to 50% brightness.
When the button on is pressed long it will start the flow with setting logic to turn light up and set a second logic to busy with dimming and after that i will call a second flow with a text label.
The first logic is telling the second flow to turn up the brightness of the light.
The second flow is needed to stop the second flow, this is done by pressing the on button again.
When the on button is pressed again it will change the logic from busy with dimming to stop dimming.
The second flow checks again if the logic is still busy with dimming, if not it will stop itself.
It will also stop itself when the light reaches 100% brightness of 0% brightness depending on turning up the light of turning down the light.

