How do I use the Dim up+down continuously and released on the IKEA STYRBAR

Suggest test these existing Blueprint threads and ask in those threads if you have related questions: