The best way to get accurate PD(Presence Detection) is to use multiple trackers. These should then be configured/combined to track a "Person".
Note: You can configure via UI or Yaml, but if created via one it can only be "edited" via one as well. I like the UI since it filters devices/etc and finds correct "ID".
Get the ID via "http://HA/config/users"