I know the original post was a while ago, but there is a roundabout way of adding a virtual switch.
I have a Tapo C100 camera inside which is always on (privacy mode disabled).
I created an automation using this camera with the trigger being detect a baby crying.
No conditions set.
Action is to disable privacy mode (it is always in this mode anyway)
Named it "Virtual Switch CW" (The trigger and action are irrelevant. Choose something unlikely to happen as this is only being used as a switch)
Here is the automation to create the switch:

To use this a a switch, turn it on and off with automation.
I use a Tapo Button to arm my alarm.
The switch is activated when the Button is turned clockwise as in the following automation:

Now when the Button is pressed, you can use that switch in a condition for the following action.
So if I rotate the button clockwise then press the button, the alarm is armed.
Rotate the button anticlockwise and press the button to disarm.
If Tapo App allowed "All Triggers", then this wouldn't be necessary.
Here is the automation to arm the alarm:

Notice the condition is for the "Switch" to be enabled.
Here is the action list:

Last thing to do is turn off the switch.
You can use the same method for any number of virtual switches.
I have another for ACW rotation.