How to tell which device called a service?

I have a nuki door lock, there is a lovelace card that unlock/lock the door, how can i make sure the phone which being used to unlock the door is within home geolocation?

HA is installed and being used by the kids and my wife.