Hi all,
This is something I have been struggling on for ages despite lots of searches and experiments. I have decided to finally create a post on this forum.
I am using my families phones to automate various things, including security (cameras, alarms etc) schedules.
As I am trying to build bulletproof logic around it I have 1 main issue : I can’t know when was the last time a phone has successfully reported its location to HA. There is no entity/state called “last_successful_reporting” and workarounds like looking at last_changed/last_update of their location/other sensors won’t work because they are updated only when something is changing which obviously doesn’t happen if the mobile app has an issue (happened to me a few times, for various reasons), or connectivity issues.
Am I missing something obvious? A magical entity/state? How do you guys build a non flawed logic for your home security without knowning if the devices are actually up and running? Ie: assuming a phone/person is home while its sensor has not been refreshed for a month is ‘dangerous’ …