Creating a presence sensor in a vEdge

If you are using the location tracking of the ST app and it’s not reliable, then simply adding a virtual switch isn’t going to do anything about that. What some people are doing is using the location tracking of another app such as Alexa or IFTTT and then changing the state of a ST virtual contact sensor in that app to signal their presence/absence. There is a whole topic dedicated to location tracking and presence.

Presence in 2023, including multiple members and multiple locations