Control blinds with a momentary/state switch

Hi Everyone -

Device: Zigbee on/off light micro module
Driver: Zemismart ZigBee Wall Switch Multi-Gang
The driver shows that the switch can be setup as switch type: a) Toggle; b) Momentary ; c) State

Objective:
Having a momentary switch connected to the module. (there are no lights in relays S1/S2, the module will only be used to control trigger actions).

L1= "Press" the momentary switch = Turn on TV
L1 = "Press and hold for 4 seconds" the momentary switch = Turn off TV.

So the same switch depending on how is pressed (pressed or press+hold), will have a different action.

Can someone with RM knowledge advise on how to get that done? (if is even possible having this kind of switch). Thought using the switch type "state"RM with "stays 4 seconds" for the press and hold.

Any ideas? Thanks!

That driver looks to only have a switch capability, no momentary, pushable button, or holdable button, which is what you would need for those actions. Looks like everything is done with switch state.

I assume in momentary mode, the switch state changes to on, and then off when you release the button. In toggle mode, the button turns switch on, and a second press turns it off. In switch mode, it stays in the state of the switch attached, since that would not be a button.

Why not just use toggle mode, and have it turn on the tv when switch turns on with the first press, and then on the second press, the switch goes to off, and then you turn off the TV.

You could also probably make a rule for "switch stays on for 4 seconds" to use the momentary feature if you wanted to, but a toggle makes more sense. I'm assuming that in momentary mode, the switch stay stays on as long as you hold the button, and then turns off when you release it.

Edit: A Zigbee scene switch would be much more appropriate for this, rather than using an actual switch. Then you can get multi-button functions with doubleTapped as well, using the button capabilities in the driver.