Hi there !
There is a blueprint that allows you to bind actions to your Styrbar 4 buttons Ikea remote, with multi-press support.
It allows you to bind different commands based on the number of presses within a certain time frame. For example you could go as far as 5 presses per button to trigger something.
Note that the up and down buttons are a bit stiff for some reason (or maybe it’s just my remote) so they don’t send updates as fast as the right/left buttons, which means that if you intend to get quintuple press working on the down button for example you should be a bit more generous with the timeout.
There is the gist to it: Blueprint to automate your Styrbar remote with ZHA · GitHub
It still allows you to use a separate automation running on restart
if you want to do something like dimming control or something like this.
Let me know if that works well for you!