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.

Delete event works OK for me.

What I’d like though is to delete a whole calendar. I set up whole load of test calendars and now want to remove them. I can delete all the events out of one but can’t delete the entire thing.

How are you using delete event? Not through the API?

Voting here too.

Use case for me:

  • Button press → create a “coffee” event tomorrow morning. If such event happens → turn on my coffee machine.
  • Double press → want to be able to delete any event called “coffee” tomorrow, if any listed. If I change my mind to start it manually at another time.
1 Like

Really shocked to discover this missing functionality! My use case is super simple, I just want to delete events that match certain criteria (created by the LLM Vision integration). The only way I can think of to workaround this without hacking the back-end is to create a separate calendar and automation that selectively copies events to it. Seems like a lot of overhead to accomplish something so simple

I was talking about accessing it through the IP address (is that the API?) or via the Android App. But I think posters here are maybe referring to something different so I am off topic.

Still have not found out how to delete a whole calendar. Also, if you uncheck a calendar off one’s calendar list does that deactivate all the events in it too, or do they still activate but just not show on the calendar screen?