Stepwise dimming of a light with SmartThings Routines, when pressing IKEA buttons?

There is a new edge driver created by a different community member just a month or so ago specifically for that purpose. Check out the following thread and you can ask anymore questions there about that one:

[Edge] IKEA RODRET, SOMRIG and SYMFONISK Gen 2 Button Edge Driver