I recently started using your plugin again and I'm looking for a feature....
Is there a way to trigger off when the plugin needs to re-authenticate with apple?
That happened to me today... got the kids new phones set up. New GeoFences for all the schools, added some pushover notifications then went for a drive. No notifications. Then I realized that the devices haven't updated in over a week (but they were still showing as online and everything else looked fine). So, I would have to trigger an event or notification based on "device last updated" being outside of set parameter.
I tried to see if I could trigger if "device last updated" is greater than today's date or something.... didn't have much luck.
Since the "device last updated" is a string, I'm guessing it would be easier to write a python script based on the "timestamp" state which is an integer.
I'm guessing I could probably have a daily schedule that uses an "if python script return True" but I'm not too good with python date stuff.
I'm rambling now. Any point in the right direction would be much appreciated.