A Virtual switch the turns off when presence sensor leave? Hello, Home

Check out the two threads below. If you create a virtual switch, then install the “Big Switch App” you can create a virtual switch to call Hello, Home phases. Then through the ST app you can have it trigger the virtual switch when both presence sensors leave. I believe you can do it through IFTTT as well, but I’ve never messed around with it.