Automation for roller shutter

Hello!
I would like to automate my roller shutters (Shelly) with a button (XiaoMi, Aqara) to not just open or close but like a wall button to opening/closing whilst I keep it pressed and stopped when I release… Do you think it will be possible?
Thanks a lot

Depends if the button support press an hold action.

It supports the long press actually… I can do like if I long press the shutters opening and if I click they will stop (like the example https://www.home-assistant.io/integrations/xiaomi_aqara/) but I don’t know how to send the “start” and “stop” command… now I configured with the position!
Thanks

I think I didn’t think of it properly.

Seem we have two events. “Long press” or “on click” and “on button release”.