SHM & virtual momentary switch

I’d like to setup a virtual momentary switch to arm/disarm SHM so I can trigger it with Alexa. I’ve setup the virtual momentary switch but what do I use to connect the switch with arming/disarming SHM. Is there another Smartapp I should use to connect the two?

Thank you

Just use a routine. :sunglasses: See the FAQ (this is a clickable link)

BTW, did you really use a “momentary” switch rather than a binary one? If so you are going to need two switches, one to arm and one to disarm.

I’m not feeling well this morning, so other people can answer any follow on questions if that wasn’t clear to you.