Several threads about this, but just using the HE app as a presence sensor is going to be problematic.
You need to look into combined presence and using a two or more presence devices/apps. I use the HE app, Alexa app and Geofencey as well as the WIFi presence.