I saw this thread - Tuya switch module - momentary switch support - which describes the same problem I am having. I am trying to use the dry contact relay outputs as a garage door opener, but can't get the switch to operate in momentary mode, it is just on or off.
I am using the latest Zemismart Multi-Gang Wall Switch module and have ensured I am using the latest one. I also noted the part about setting the switch to momentary mode by selecting from the dropdown then clicking the Switch Type button. I have re-acquired the switch and am now out of ideas as to how to get this to work. Can it be that the switch simply doesn't support momentary mode? This is the switch I am using - https://www.aliexpress.com/item/1005006993707388.html
Virtual devices are useful as "simulated" devices that do not correspond to a real/physical device. For example, a virtual switch device using the "Virtual Switch" driver allows you to send on() and off() commands to the device and have the switch state update as expected, simulating the behavior of a "real" device without actually doing anything. This can be helpful to test app behavior without needing to rely on a real device.
Virtual devices can be created using the Virtual button under Add Device Manually.
(Some LAN or cloud devices can also be manually created like "virtual" devices using a specific driver and setup instructions provided for that device or integration.)
This device should support the 'switch type' settings. Although the fingerprint is not included in the latest Zemismart ZigBee Wall Switch Multi-Gang driver, you should be able to change the switch type from the Commands section.
You can enable the Debug logging and post here the device response to the command.