It is nice to be able to CREATE_EVENT
with a service call using the Calendar
integration, but I would also like to be able to automate deletion of events as well. I’m imagining a DELETE_EVENT
service that would at least be compatible with the relatively new Local Calendar
if not also compatible with other calendars.
Either delete or modify the existing event is needed.
I can’t believe this is still not a thing 4 years later.
Edit: Sorry, saw “May 17” and assumed it was may of 2017.
This is also relevant for calendar entities, like helpers.
I have read that the feature is implemented and the services just need to be exposed
Where? Can you maybe send a link?
I think the “just” here is likely relevant. Of course the code to delete calendar entries exists, or we couldn’t delete calendar entries. However, that doesn’t necessarily mean that it is trivial to create a service that can delete by matching to a specific entity that you want it to delete.
Hi. I get that ‘Just’ is a big word here, but it really would flesh out the ability to manipulate HA if it were also made available through the service too. I definitely have use cases where this is needed. and I’ve seen it can be done through the calendar UI. so, +1 to the list of people wanting it.
I think it all depends on the needs.
We have a service that can list events using start date, end date, and duration.
In my case, I need to remove events using start and end dates and add new events.
I get an updated trash day calendar and I want to automate the process.
According to the spec (Calendar entity | Home Assistant Developer Docs) each event has uid, so one could list events, then search for the one that needs to be deleted and remove them one by one.
where could we ask for this feature, I’m not familiar with the process
This thread is the request for this feature. It has 36 votes, you ask for it by voting for this thread, if you haven’t already.