My journey to solving the presence problem is documented in these two threads:
It has been a success. I now have 100% reliability on presence by using:
My wifi presence driver
Homekit presence
Alexa presence
Combining them using the advanced option of Combined Presence
One of these days, I might write up a single post that gives all the answers in a single post. (How's that for humble! All the answers! /s) However, there are a lot of small details/options depending on what you're trying to achieve, so reading through my (and others) journey to solve it is probably the best way for now.