How to use presence detection with beta 2?

With beta 1 and the ios: component, I was using the device_tracker entity for presence detection.

In beta 2 and the mobile_app: How do we set presence detection?

I see a sensor.geocoded_location but not sure how to use it ??

https://companion.home-assistant.io/en/next/core/location

Nice. Thanks !