Problem with Switch

Hi,

I used to have a switch which I could turn on or off and a rule that got activated if the switch is turned on. I just had the below line in my home.items and it worked in the past, but for some reason I deactivated this line a while ago. Now I wanted to activate it again, but I get this error message:

mismatched input '"OFF, ON"' expecting RULE_ID

the home.items line:
Switch SWAlarmWgTuer "Wohnungstür Scharf schalten" <shield-1> (FF_Wg) {"OFF, ON"}

Any idea what is wrong here?

Switch SWAlarmWgTuer "Wohnungstür Scharf schalten" <shield-1> (FF_Wg)

that worked thank you!

Please mark the thread as solved (little tick mark for solution post) Thanks