Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read the "description" field in the ICS #37

Open
signaleleven opened this issue Dec 9, 2021 · 1 comment
Open

Unable to read the "description" field in the ICS #37

signaleleven opened this issue Dec 9, 2021 · 1 comment

Comments

@signaleleven
Copy link

With an ics file containing events like this:

BEGIN:VEVENT
DTSTAMP:20211209T101739Z
UID:[email protected]
SUMMARY: Achtung: Restmülltonne, XXXXstr. YY
DTSTART;TZID=Europe/Berlin;VALUE=DATE:20220106
DTEND;TZID=Europe/Berlin;VALUE=DATE:20220106
LOCATION:XXXXstr. YY
DESCRIPTION:Im Zeitraum 18.12.2021 bis 11.01.2022 kann es wegen der Feiertage vorkommen, dass wir Ihre Tonnen vor oder nach dem gewohnten Termin leeren.
STATUS:CONFIRMED
BEGIN:VALARM
TRIGGER:-PT15H
ACTION:DISPLAY
DESCRIPTION:Restmülltonne, XXXXstr. YY
END:VALARM
END:VEVENT

Setting up a calendar that detects those events (by filtering for contains: Achtung for instance) correctly provides the next event in the sensor, but no state attribute contains the text in the DESCRIPTION field of the ics event. Instead, the attribute "description" seems to contain the summary.

I love this integration, it should be stock in Home Assistant! Thank you!

@KoljaWindeler
Copy link
Owner

true .. ICS isn't very strictly defined .. most provider have the text in summary and not in description for what ever reason.
But you're welcome to add the 2nd field and submit a pull-request :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants