I have a Node-Red automation that calls calendar.get_events() just after midnight each day and uses that data to issue TTS notifications throughout the day. All of that works fine with our Google Calendar.
My problem is last night the internet was down from a storm, so the get_events() call returned a no events error. I realize Google Calendar is cloud based, but I expected the local Calendar service would at least still have all the recurring event data from the prior day, and it would work for at least those events. Is there no option to tell the .get_events() call to just return what it has in the local Calendar service if the call to Google fails? Could such an option be added? I'm trying to make all my automations resilient to WAN outages.
I suppose I could add a new automation to sync each Google Calendar with a Local calendar, and have my Node-Red flows look at the local calendar instead. But that's what I thought the Google Calendar integration already did, so that's why I'm asking her for clarification. Any advice or suggestion how to do this?