Automatic blinds - hold virtual momentary switch for x seconds?

Happy new year to all.

Need help writing a device type for a momentary virtual switch. I have 8 motorized roller blinds linked to a z wave relay module and a momentary wall switch. When the switch is held, the blinds go up or down. Everything is physically working, just not the SmartThings integration.

Using the existing virtual momentary switch device type, I can get the blinds to move for one second in either direction. I need to write a command to hold the contact closed for x seconds. The manufacturer has instructions for doing this in Vera, but I can’t figure it out in SmartThings.

Any help would be much appreciated!

I’m looking for the same thing. Did you ever figure something out ?