Cancel all timers

I’m writing a simple app, that sets up many run_at() timers in the future (for reminding of sport events).
The list of these events is received as a json file from a certain url and might change daily - but might as well remain the same for months.

Of course when the list changes, I’ll have to cancel all the earlier timers first. By the doc, the only way I see is to store the handler of each timer received from run_at(), go through the list and cancel all that is still in the future.
Another option might be to use restart_app() (which also starts with loading all the events), but with one drawback: that way I cannot compare the new list with the old, and create log entries like “2 events added/changed” or “nothing has changed”.

So is there a simple way to cancel all timers of an app perhaps?

came across this now.

did you try:

schedule = self.get_scheduler_entries() ?

https://appdaemon.readthedocs.io/en/latest/AD_API_REFERENCE.html#appdaemon.adapi.ADAPI.get_scheduler_entries