Add `DELETE_EVENT` Service to `Calendar` Integration

Currently, my Azure Function parses PDF files and outputs events from them.
Sadly I don’t see anything new in Add read-only calendar from url by zeehio · Pull Request #126862 · home-assistant/core · GitHub and it is stale, so it will probably get closed.

In a perfect world, I imagine this new integration to do the following steps:

  1. You add it by specifying URL to .ics file and a time interval for the updates
  2. Initially the integration downloads .ics and creates events from it
  3. When the time interval finishes the events are deleted and new ones are created from a new ics file that gets downloaded.

I think you will be able to use any ics file that is available via URL. This could be a static file or a service that generates the file.

Let’s hope this new integration will be added at some point.

1 Like

Anyone figure out how to do this? I also need the ability to delete/modify events. I’m attempting to sync specific events in my work calendar with home calendar, and often some of them change and I need that reflected.

For instance at the start of the day my lunch is always set to 11:30, but at times it gets moved to Noon or 1pm. Right now what I have would wind up with Lunch in my personal account at 11:30 and 1pm if it got moved.

+1 from me too. My use case is my Heat pump legionella cycle. It is set to run every 2 weeks from a calendar event. However it will run sooner if the electric is cheap enough. The automation adds a new trigger event for 2 weeks time but ATM I have to manually remove the original one or it runs too often.

+1’ing because I just spent all afternoon wondering why everything I tried to do to delete a calendar event wasn’t working. I’d even be happy with the ability to programmatically delete the whole calendar and recreate it.