#add .ics files into an existing Calender

4 messages · Page 1 of 1 (latest)

sleek pike
#

Am I missing something or is there no way to use an .ics file (e.g. from trash collection) to add to an exisiting calender. The only option I have is to create a new Calender which somewhat defeats the purpose.

gleaming phoenix
#

You can create a new empty calendar or a new calendar based on an ics. An option to add an ics to an already existing calendar does not exist as far as I know.
Will have a look in the upcoming days for a tool to merge ics files - calendars are stored as ics in the config - so I can merge my trash collection calendars for next year in the existing calendars.

#

Worst case would be a manual merge. Should not be too complicated as ics are text files but of course something automated or included in Calendar would be appreciated.

gleaming phoenix
#

@sleek pike I now just wrote my own merge script as I simply have to merge future events into an existing calendar. The script is available here: https://github.com/trippedBit/merge-ics

Workflow would be:

  1. Get your calendar ics from Home Assistant (will be the target).
  2. Get your calendar ics from e.g. trash collection.
  3. Run the script using calendar from step 2 as source and calendar from step 1 as target.
  4. Override/Replace the calendar used by Home Assistant with the merged one from step 3.
GitHub

Contribute to trippedBit/merge-ics development by creating an account on GitHub.