I have a shelly mini gen4 and a hue bulb and want to use the switch as a dimmer. when I hold the button it should brighten up 5% every second and when I release the switch and press it again it should go darker the same way. I don’t manage to do it on my own and was wondering whether I can get help here. I manage to do it without the loop, so that It goes up or down by 5% but not in a loop every other second.