Flaky presence detection with android app device_tracker entity

Hi,

I am using device_tracker presence detection entity that was created by the HA android app in my automation. However I am finding that overnight it will start to “flip flop” between the home and away states causing the automation to run when it shouldn’t.

The time highlighted by the red box the phone was at home the entire time but it has flipped to away status multiple times!

Any pointers on how I can debug this?

Thanks.