You can find a step by step guide on the 1st post here on how to create a virtual switch and use it to control STHM from other apps: [RELEASE] Security System: Intruder Alert with Actions
You can find a step by step guide on the 1st post here on how to create a virtual switch and use it to control STHM from other apps: [RELEASE] Security System: Intruder Alert with Actions