Wo finde ich das ICS Thema....hab weder bei HACS noch bei Integrationen was drinnen?
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:705
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:07:59 (1 occurrences)
Last logged: 10:07:59
[547605909504] The system cannot restart because the configuration is not valid: Platform error calendar.ics - cannot import name 'CalendarEventDevice' from 'homeassistant.components.calendar' (/usr/src/homeassistant/homeassistant/components/calendar/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 202, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/hassio/init.py", line 705, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error calendar.ics - cannot import name 'CalendarEventDevice' from 'homeassistant.components.calendar' (/usr/src/homeassistant/homeassistant/components/calendar/init.py)
Wo finde ich das ICS Thema....hab weder bei HACS noch bei Integrationen was drinnen?
Moin Markus,
ich kann auch nur raten: Bist Du Dir sicher das Du nicht irgendwann einmal z.B. den Google Kalender integriert hattest, oder das Du in dem HA calandar nicht irgendwann einmal einen Kalender per iCAL (ics)-Format eingebunden hattest?
Otherwise, you can install it manually.
Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
If you do not have a custom_components directory (folder) there, you need to create it.
In the custom_components directory (folder) create a new folder called ics_calendar.
Download all the files from the custom_components/ics_calendar/ directory (folder) in this repository.
Place the files you downloaded in the new directory (folder) you created.
Inside the new directory, run 'pip install -r requirements.txt'
Restart Home Assistant
Add platform: ics_calendar to your HA's calendar configuration.
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/ics_calendar/__init__.py
custom_components/ics_calendar/manifest.json
custom_components/ics_calendar/calendar.py
custom_components/ics_calendar/icalendarparser.py
custom_components/ics_calendar/parsers/__init__.py
custom_components/ics_calendar/parsers/parser_ics.py
custom_components/ics_calendar/parsers/parser_rie.py[
Ob Dir das restlos gelingt muss Du schauen. Ich hatte per HACS auch mal eine Integration installiert, die sich dann per HACS nicht mehr deinstallieren lies und es gab von dem Entwickler auch keine Info zur Deinstallation. Da habe ich auch lange suchen und "frickeln" müssen bis ich das dann wieder los war.
Ja klar, Möglichkeiten warum das jetzt klemmt gibt es einige. Aber Du weisst ja jetzt woher das Problem stammt und kannst dann gezielt(er) nach einer evtl. Lösung suchen.
Schon wieder ist gut. Das andere Problem ist jetzt genau ein Jahr her.
Ich habe keine Ahnung von diesem Calendar Addon, aber wenn Du das Addon wieder/weiterhin nutzt würde ich an Deiner Stelle als erstes bei den Issues zum dem Addon schauen. Also vermutlich dann dort https://github.com/franc6/ics_calendar/issues
Da sehe ich z.B. aktuell drei noch offene Issues zu HA Core 2023.10.x. Falls Du also aktuell auf HA Core 2023.10.x bist würde ich mir die schon mal anschauen. Sollten diese Issues nicht auf Dein Problem zutreffen würde ich danach im HA-Forum suchen, denn ich vermute das hier im Forum - bei den wenigen (aktiven) Usern hier - außer Dir niemand sonst noch dieses Calendar Addon nutzt.
Wenn Du bei den vorhandenen Issues bei Github und im HA-Forum keine passenden Infos/Hilfe finden solltest würde ich ein neues Issues erstellen. Der Entwickler des Calendar Addons scheint relativ aktiv zu sein und auch kurzfristig auf Issues zu reagieren.
Früher mal die ics Platform zum einlesen einer lokalen ics Datei im EInsatz gehabt.
Die Platform ics_calendar sagt mir gar nichts, ist eine Custom Integration aus dem HACS, richtig.
Nur, wenn ich mir die Doku anschaue, ist Deine Konfiguration ja total daneben.
Müsste lauten: