Sonoff MINI2 Tasmota : Momentary switch

I’ve flashed some Sonoff MINI2 relays with Tasmota and my intention is to control them using momentary switches. Does anyone have any experience on how to change the switching method in Tasmota? At the moment my light only stays on as long as a press the button switch in, when I release it turns off.
I’d like it so that pressing and releasing the switch toggles the light just once.

Tasmota has an excellent documentation on Switchmode:
Buttons and Switches

1 Like

Thanks for the response! will give this a try…