Modern phones will turn off the WiFi when in deep sleep.
I find that monitor, which uses Bluetooth, is the most reliable method. The mobile app works well if you use the value of the WiFi SSID rather than the device tracker.
I can recommend to combine two sensors, one network based and one gps based (companion app) in a person entity.
They are almost never both wrong at the same time.
I actually use the SSID as the network based device tracker, by switching a ādummy deviceā state through an automation:
entity device_tracker.rene_dummy is showing now āHomeā. entity device_tracker.nokia7.2 is showing āZu Hauseā but when i use entity device_tracker.rene_dummy now in my person settings the person is showing as āunknownā.
another question: for my wife i still have only the mobile app device tracker in use. but it shows āhomeā since a few days continously. but thats wrong, she is/was not allways at home. she is every day out of home for more than 8 hours.
any ideas what could be the problem?
No, this would not work (at least for the first condition) because multiple conditions are always āANDedā, and your phone will never be in two WLANs at the same time.
You could write something like
"{{ states('sensor.nokia_7_2_wifi_connection') in ['-Pandora-','-Pandora-EXT'] }}"
As to your wifeās device_tracker: No Idea. Maybe the app doesnāt have the appropriate permission?
The app needs the permission to ALWAYS access the location and to run in the background ,though I canāt seem to find the latter right now.