Files
homeassistant-calendar/add-caldav-event

Script for CalDAV events

This is what allows you to utilize a self-hosted calendar (in my instance nextcloud).

Add this script to the scripts settings of your HA you can find scripts here Settings > Automations & scenes > Scripts