Ok. Let’s go step by step, ok?
Go to UI and create manually empty calendar. Just create a new calendar. You may create a new item here as well.
A new calendar also you can see at the left menu at your HA dashboard.
At this step in HASS folder /config/.storage/ you can see a new .ics file with name entity what you create a 1 minutes ago.
Please do not move next while you a not pretty sure what you can see a new brand file in HASS folder.
The next step is very easy - just replace - override this file with own. Attention again please keep name as is! Do not need to rename etc file. Ok?
The last step is reloading calendar in HASS. Just GOTO to dev menu and make a some magic like you show before in the screenshot.
That’s all talks (c)
Thank you for the complete explanation. I guess I missed the fact that I needed to use the UI to create the calendar in the first place. Now everything is working!!
Hi guys, I followed @10der his instructions but somehow something goes wrong.
I had an empty calendar and put the ics in place with the same name: no result.
Then I created a new calendar and put the ics in place with the new name: no result either. (it seems I had to add an event so that the ics file in HA gets created)
Next, deleted all calendars and started over again: no result.
What happens also: after reloading the service the calendar is gone from the calendar application whereas it still shows up in the integration but the entity is unavailable.
I checked the linux file permissions and they are OK so it’s not that.
do you reload calendar (via dev service console) after replacement file?
r u sure what your calendar is OK? Yep, a strange question but alas. Can you upload your calendar for example to google or for example again to this service click (not ads! sorry for link)?
Hi, local calendar developer here. It just needs to be designed and added. Keep in mind this is done in volunteer time, so someone has to be motivated to do this.
I personally don’t have a use case for this so I haven’t done it myself yet, but it’s been on the bark burner " Todo list" for awhile. (I put time on Todo lists instead)
I searched for a similar thing.
Once a year we get a new trash day calendar via a PDF file from a company that is taking the trash.
Then I must manually add all entries to 5 calendars (mix, plastic, glass, paper, bio).
Ideally, I’d like to enter those days in a csv file and import them via a service call.
Ideally, I need two services:
clear all events from a given calendar for a given time
bulk import/insert events to a given calendar
This way I could import all the events, clear the entire year, and reimport events (when I make a mistake or the company sends an update).
FYI: with (some) pdf viewers you can select the information and paste that for example in excel (or any other spreadsheet program) which in turn might make the process easier to get your trash dates into a calendar.
I guess I have to write a pull request for the documentation but I have implemented this feature and submitted a pull request here, in case any of you wants to review my code:
I was just trying to help/inspire to prevent monkey work which is so not 21st century.
Over here, we get an ics file which I import in my mail program and from there synchronize with Nextcloud which is integrated in HA.
Lucky you
I’m happy that my local company isn’t sending telegrams
I’ve tried several times, and I’ve sent emails to every address I could find. I even offered to create API for them, but all I got was the answer “No, because no”.