Tasmota Switch, Custom conriguration for Switch

Hey, hope i am right here,

i have an problem with an configured Tasmota switch,
i need to change the switch with an custom configuration
if i click on the switch the command need to be like
command_topic: “cmnd/shelly_neu/var2 , on=ON , off=OFF”

couse i have the following Rule on the Tasmota unit, the switch on the wall starts the Rule, the switch in AH don’t do that atm, to get it to work i need to send “var2 command”

Rule1
on var2#state do event toggle=%mem1%; endon
on Switch1#State do event toggle=%mem1%; endon
on Rules#Timer=1 do backlog RuleTimer1 10; add1 1; power1 3; mem1 OFF; mem2 OFF; endon
on var1#state=3.000 do backlog RuleTimer1 0; var1 0; power1 0; mem1 OFF; endon
on event#toggle=On do backlog mem1 OFF; POWER1 0; RuleTimer1 0; var1 0; endon
on event#toggle=OFF do backlog mem1 ON; POWER1 1; RuleTimer1 600; var1 0; endon

i hope someone can help