python-caldav / caldav

Apache License 2.0
321 stars 95 forks source link

Description field ot updated #383

Closed ArdJonker closed 7 months ago

ArdJonker commented 7 months ago

Context: Core 2024.2.5 Supervisor 2024.02.1 Operating System 12.0 Frontend 20240207.1 AppDaemon: 0.16.4 CalDav connected to NextCloud with a

(I am quite sure this behaviour has been in HA for a long time so also with older versions)

Steps to reproduce: Add calendar item (CI) in NextCloud with a description (e.g. 'desc1') Open the calendar in HA, the CI is visible with description 'desc1' In AppDaemon trigger code: cal = await self.get_state("calendar.name", attribute="all") self.log(cal["attributes"]["description"]) This outputs: 'desc1'

In Nextcloud change the description (e.g. to 'desc2') Open the calendar in HA, the CI is visible with description 'desc2' Now run the same code again This outputs: 'desc1' Expected 'desc2'

As suggested in https://www.home-assistant.io/integrations/caldav/ I've tried to do: sudo apt-get install libxml2-dev libxslt1-dev zlib1g-dev But not succesfull but it seems strange that this would be needed.

tobixen commented 7 months ago

This is probably an issue that should be lifted at https://github.com/home-assistant/core/issues rather than here, as it's HomeAssistant-specific.

Of course I wouldn't rule out that this is due to some bug in the python-caldav library, but from the problem description it sounds more like a problem in Home Assistant.