Creating the event works fine and the event shows up in apple calendar, so the calendar tools are installed and work fine.
But:
Error message:
Delete failed. (ics_calendar_tools.delete_event did not accept the request) Check Home Assistant logs.
LOG entry:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 278, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<7 lines>…
)
^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2819, in async_call
response_data = await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2862, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/ics_calendar_tools/init.py”, line 407, in handle_delete
path = _find_ics_path_for_calendar(hass, cal_ent)
File “/config/custom_components/ics_calendar_tools/init.py”, line 75, in _find_ics_path_for_calendar
raise FileNotFoundError(
f"Could not find Local Calendar .ics file for {calendar_entity_id}. Tried {path}."
)
FileNotFoundError: Could not find Local Calendar .ics file for calendar.lutz. Tried /config/.storage/local_calendar.lutz.ics.
If ALL your calendars are CalDAV try removing ics-calendar-tools as you really don’t need it(its really for local calendars) and reboot, try deleting CalDAV event again. if error continues i will create a new release to fix CalDAV calendar detection and make it more robust.
what CalDAV integration are you using?
Also show me screenshot of schedule view and month views and i can help with .css card style for dark mode
@Fugazzy the current caldav integration only supports “Add” and does not support delete or edit. local calendars in HA we can delete, add and edit! google calendars only supports add and delete but not edit. It is just a issue with those integrations so i have nothing to call from CalDAV to delete, It simply dont allow for it. I will for now add dialog that says you cant delete rather then throwing random error atleast that way it wont be confusing.
@Fugazzy im going to work on creating something like i did in ics-calendar-tools but a new integration just for fixing missing HA support of edit/delete for google and CalDav.
In testing i CAN add this missing functionality for google and caldav!
It’s just not possible with current caldav integration from what i see. i tried.
@randr Hello, I’m using the new week-planner-card-plus thank you for your fantastic work. There are a couple of things. If I edit a Google calendar event that won’t work. I can only add and delete events. I read on your github edit does not always work, so no problem. However I now see Calendar “Alice”, “Bob”… the default names in what file can I change this? I changed this for the add event button in the family_calendar.yaml file and changed the dropdown calendar options to the names of the person. Also can I change the language of the text in the add form? In the old button I just changed the name of the text. Where is the add/edit/form located, so I can edit the code?
Thanks for giving it a try! it is very nice even though you cannot edit event you can always delete and recreate it for edit or use local calendars then it works for add, edit and delete.
Correct with google Home Assistant integration we can only Add or Delete NOT edit sadly.
My week planner card plus would never add “Alice” or “Bob” names to your calendar. Check your dashboard.yaml it must have those names in it.
Do you mean changing name of Add event in new popup when you click a blank day?
Hello, you’re correct. I found the names in my dashboard.yaml I forgot to edit the names of the calendars. My bad
Yes change the language in the add/edit event window when I click on a blank day. Now the window is in English. The weird part is that if I go to my google calendar integration in HA everything is in my local language, but in the skylight Calendar it’s in English when I click on a blank day. in the old add event popup I could change the names iof all fields in dashboard.yaml, but for this new window I cannot edit the names of the fields, because it’s nowhere to be found.
Ah, that’s a bummer. Is it possible to implement Dutch as a a language or that it uses the same elements as the google calendar integration. I can provide you the translation of each field if needed. For the week planner card I could change the text for each day.
I will modify card to support other languages. In meantime you could try adding locale to card in dashboard yaml. Let me know if that fixes it for you.
type: custom:week-planner-card-plus
locale: de # or fr, es, etc.Not sure if that will work just an idea.
Let me work on supporting all languages should be fairly simple to change in card. give me a day or 2 and then will need tester for language changes.
Hello randr, no it does not fix it. I already set the locale: option in dashboard.yaml. It changes some formats, like the days in the local language, but not everything.
For anyone having issues with edit/viewing events on phone I made a separate dashboard with just week-planner-card-plus and it works perfectly for editing.