Check out this blueprint to simulate the IKEA TRADFRI Dimmer (2 button version) through ZHA events.
|on (short)||Turn the light on|
|off (short)||Turn the light off|
|on (long)||Increase brightness|
|off (long)||Decrease brightness|
Click the badge to import this Blueprint: (needs Home Assistant Core 2021.3 or higher)
Or import this Blueprint by using the Gist URL: