Shelly plusi4 button push start push stop actions?

Hey there,

I have a shelly plusi4 installed behind a button. The Installation in home assistant worked easy like a charm. So now I am able to controll my installed zigbee lights with this button.
But at the Moment Home Assistant only gets events “button push” or “button long push”.
I would like to achive that the lights are slowly dimmed when I hold the button untill I let got of the button.
But I don’t have an event of “push stop” in home assistant.
Now I read about shelly script and that there are events that are called btn_down and btn_up - which would be exactly what I need.

Does anyone know how to get these events to be notified in home assistant?

Thanks in advance