SwitchMode kennt 8 Optionen:
SwitchMode<x>
0
(default) Set switch mode to TOGGLE
SwitchMode<x>
1
Set switch mode to FOLLOW (0 = Off, 1 = On)
SwitchMode<x>
2
Set switch mode to inverted FOLLOW (0 = On, 1 = Off)
SwitchMode<x>
3
Set switch mode to PUSHBUTTON (Normally 1, 0 = toggle)
SwitchMode<x>
4
Set switch mode to inverted PUSHBUTTON (Normally 0, 1 = toggle)
SwitchMode<x>
5
Set switch mode to PUSHBUTTON (Normally 1, 0 = toggle, Hold = hold)
SwitchMode<x>
6
Set switch mode to inverted PUSHBUTTON (Normally 0, 1 = toggle, Hold = hold)
SwitchMode<x>
7
Set switch mode to PUSHBUTTON (0 = toggle, 1 = toggle)
Quelle: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands
Gruß
Jörg