Calling update_state on device_tracker vs requesting location update

Hi,

For a mobile device which provides a device_tracker entity, is there a different between calling the update_entity service on the device_tracker entity vs sending an intent (in the case of Android) to update the location? Is the system smart enough to request a location update when update_entity is called on a mobile device_tracker?

in this case I do not think so? its not mentioned in the documentation on the companion site

Thanks. I guess I’ll stick with the intent then. Another question, I have multiple Waze sensors that use this device_tracker. When I request a location update using intents, 1) is there a way to know how long to wait before the Waze sensors are updated? 2) I guess the Waze sensors update automatically when they sense a change in the device_tracker if “Enable polling for updates” is checked, right?

on android we request a location update to come within 10 seconds

make sure your sending the notification using the critical format to ensure its delivered immediately

1 Like