Namron battery dimmer switch and MOES dimmer - Help with dimmer automation


I have these two connected to my zigbee2mqtt controller:

Since I’m a noob, what should my automation look like?

The dimmer switch’s payload on button hold is: brightness_move_up_1
The MOES dimmer documentation says you can use:

"brightness_move": 40

To dim the brightness 40 for every second. But I have no clue how to use this :see_no_evil:

So {"brightness_move": 40} does not work for me. Anyway I have found a solution for this as of now. If someone manages to get the {"brightness_move": 40} to work for this dimmer, please let me know.

Ayway, here is my solution: