Not sure why you’d have two virtual sensors. I have one virtual presence sensor for each person at my house and I have two Alexa routines for each of those sensors; one to set the person is present and another to set that they aren’t. Then in ST, I have Routines that trigger on whether the virtual presence sensor for someone is present/not present. For example:
If Bruce’s virtual sensor is present
then
Unlock door
Change location mode to Home
Send notification the door unlocked because I got home
Resume my thermostat program
Set the House virtual presence sensor to present (controls if certain actions happen based on one or more people being home)
and
If
Bruce virtual sensor is not present
and
Teri virtual sensor is not present
then
Change location mode to Away (which then triggers an Away From Home Routine)
Note: Being present or not-present in a Routine is really a state change from present->not present or vice versa.
I just wanted to be able to retain and see the current state of the phone presence in Alexa as well as the native SmartThings device.
I have icons on my SharpTools dashboard for both of these, as well as the “ST Presence vEdge” that I ultimately use. This just lets me visually confirm that it is correctly set, even if/when either the Alexa or SmartThings switch failed to set.
The virtual presence sensors you create in ST will show up in the ST app, in the Alexa app, and in Sharptools and the state you set via your Alexa routines should be reflected in all 3 places. You should not need the Sharptools rules and a separate set of sensors to see your virtual presence state in all the environments.
It’s sad what Samsung have done to SmartThings. Many of us have dramatically less functionality than we had 5-10 years ago. This weekend I’m planning to remove the last few things that SmartThings does so that I can switch it off and say goodbye to Samsung and their unsupportive approach to customers. Hubitat is working out well, I just hope it stays that way as any migration is painful and time consuming!