How to dim Zigbee lamps with real buttons

Hello,

I use ZHA with a Conbee II stick.

However, I am not able to dim Zigbee lamps with real buttons.

From the Dashboard, everything works: switching, dimming and, if available, colour selection.

My wall switches deliver PRESS_SHORT, PRESS_LONG and PRESS_LONG_RELEASE as events. I can manage simple switching on and off with them.

However, I would like to have my lamps dimmed: A long keystroke slowly increases the brightness and decreases it again at the brightest point. When the button is released, the current brightness setting remains.

Does anyone know how to do this?

Greetings, Eckart