KoljaWindeler / ics

Integration that displays the next event of an ics link (support reoccuring events)
51 stars 12 forks source link

STARTSWITH filter in F1 calendar does not work #25

Open Rojoev opened 3 years ago

Rojoev commented 3 years ago

Hi,

I'm trying to create several sensors to display information about the upcoming F1-races. However the STARTSWITH or CONTAINS filter don't seem to work, could you check what the issue is? My code for retrieving the name of the next location:

The ICS file contains this information: BEGIN:VCALENDAR VERSION:2.0 PRODID:www.maak-agenda.nl METHOD:PUBLISH CALSCALE:GREGORIAN X-MICROSOFT-CALSCALE:GREGORIAN X-WR-CALNAME:Formula 1 X-WR-CALDESC:Wedstrijden Formula 1 X-PUBLISHED-TTL:PT6H BEGIN:VEVENT UID:vvmM9wudo7UcovyV7iJzHozwIqw0alI8hfKK3Ejs@maak-agenda.nl DTSTART:20210328T150000Z SEQUENCE:0 TRANSP:OPAQUE STATUS:CONFIRMED DTEND:20210328T164500Z URL:https://maak-agenda.nl LOCATION:Sakhir SUMMARY:Grand Prix (Bahrain Grand Prix) CLASS:PUBLIC DTSTAMP:20210308T204937Z CREATED:20210104T031009Z LAST-MODIFIED:20210302T031008Z END:VEVENT