This link is a good example on how to set to a momentary switch.
For folks who might reference this. I had a Sonoff v1 that I was able to OTA to 8.5.1 from Smartlife FW. The upgrade path then requires OTA to 9.1.0 and it worked fine. The last OTA to current release 12.3.1 broke the Sonoff and it was not able to connect to WiFi. None of the recovery worked and I had to open it up and flash it manually. Again, flashing to 8.5.1 worked but flashing to 12.3.1 didn’t. Since the Tasmota Edge driver requires Tasmota 11.0.0+ I flashed it to 11.0.0 and it’s working so far.
2 Likes