Switch1 copy #state of Switch2

hi i am trying to make switch 1 copy / follow the #state of swicth2 with a rule in tasmota

I already did this, but I can’t remember how … and to my bad luck my esp was deleted so I couldn’t backup the rule … T-T

What I am trying to do is the following so that you understand me:

rule1 ON Switch2 # State DO Swicth1% value% ENDON

Hi
I am using this rule:
rule1 on power2#state do power3 %value% endon

This is not the tasmota forum.