In my opinion presence detection will always have glitches and issues. That is why I suggest a belt ans suspenders approach. Setup as many presence detection options as you can and use them together to determine if someone is home. See below for a good explanation.