I need to configure domoticz in a way that would allow me to choose for how many minutes I want to power the switch ON everytime I click on it.
The amount of minutes is an integer, from 5 to 15. So when I click on a switch I want to have multiple options - like 5,6,7,8,9,10,11,12,13,14,15 or a field where I could input the amount of minutes.
Since the device is being switched on in that way:

it is important that the amount of minutes should be also stored in some variable passed to Blockly/other Events Handling methods.
I would like to select amount of time every time I activate 'Permission to pwrON'.
I would be very grateful for any ideas how to solve the problem.