Repository: mampfes/hacs_waste_collection_schedule

Issue:
local ics not working correctly anymore correctly with 1.9.0
With 1.9.0 my ics is not working anymore for one type.

```
  - platform: waste_collection_schedule
    name: abfallkalender_papier_date
    value_template: '{{value.daysTo}}|{{value.date}}'
    types:
      - Papiertonne
  - platform: waste_collection_schedule
    name: abfallkalender_gelbersack_date
    value_template: '{{value.daysTo}}|{{value.date}}'
    types:
      - Gelber Sack
  - platform: waste_collection_schedule
    name: abfallkalender_hausmuell_date
    value_template: '{{value.daysTo}}|{{value.date}}'
    types:
      - Hausmuell
```

The second one brings no result anymore from the same local ics.

```
waste_collection_schedule:
  sources:
    - name: ics
      args:
        file: "www/abfallkalender.ics"
  day_switch_time: "23:55"
```

Restored back to 1.8.0 results are back again.

```
BEGIN:VCALENDAR
PRODID:-//K4SYSTEMS//ABFALLPLUS//DE
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-TIMEZONE:Europe/Berlin
X-MS-OLK-FORCEINSPECTOROPEN:FALSE
X-WR-CALNAME:Abfuhrtermine xxx, yyy
X-WR-RELCALID:307eb8ee16198da891c521eca21464c1
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201203
DTEND;VALUE=DATE:20201204
DTSTAMP:20201209T152047Z
UID:0119375d176d3d0d40b35c40ccb33b79
CREATED:20200101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201203
DTEND;VALUE=DATE:20201204
DTSTAMP:20201209T152047Z
UID:5155c2ea6f2efaf5f1f820690e032ee5
CREATED:20200101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201204
DTEND;VALUE=DATE:20201205
DTSTAMP:20201209T152047Z
UID:b25fb33a9d3a0f93d78368ef11d6da1f
CREATED:20200101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201217
DTEND;VALUE=DATE:20201218
DTSTAMP:20201209T152047Z
UID:8fe333bf02de5e9b6ef2fe3d2dc390bd
CREATED:20200101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201217
DTEND;VALUE=DATE:20201218
DTSTAMP:20201209T152047Z
UID:9c0552802ae5df258373996de16d2b8a
CREATED:20200101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201231
DTEND;VALUE=DATE:20210101
DTSTAMP:20201209T152047Z
UID:52a771b699fb7ae1b76c20d22154bd5d
CREATED:20200101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20201231
DTEND;VALUE=DATE:20210101
DTSTAMP:20201209T152047Z
UID:79c54185ca8a70dd931d77d6570e6506
CREATED:20200101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20200101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210102
DTEND;VALUE=DATE:20210103
DTSTAMP:20211217T075812Z
UID:b69696ed8d033ff41e4fe08d34221227
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210108
DTEND;VALUE=DATE:20210109
DTSTAMP:20211217T075812Z
UID:d9756d0af20c08ad069f8174866add1e
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210114
DTEND;VALUE=DATE:20210115
DTSTAMP:20211217T075812Z
UID:1024aabf0122991a23dac7be7d34450e
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210115
DTEND;VALUE=DATE:20210116
DTSTAMP:20211217T075812Z
UID:f88f21ab964796f2738813fcd7a568cd
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210122
DTEND;VALUE=DATE:20210123
DTSTAMP:20211217T075812Z
UID:2d61574c9203a23d27e59f362aa3e4b7
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210129
DTEND;VALUE=DATE:20210130
DTSTAMP:20211217T075812Z
UID:3c89d7f4a7ca6d23d93313f0b9f62631
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210205
DTEND;VALUE=DATE:20210206
DTSTAMP:20211217T075812Z
UID:ed42987303fedbeac595202d87f7e970
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210211
DTEND;VALUE=DATE:20210212
DTSTAMP:20211217T075812Z
UID:f4e3e8bee850d73dbd400676c705d069
CREATED:20210101T090000Z
DESCRIPTION:aaa
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Schadstoffsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210211
DTEND;VALUE=DATE:20210212
DTSTAMP:20211217T075812Z
UID:dd342c8c0d762fe3695c9866e57cc69f
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210212
DTEND;VALUE=DATE:20210213
DTSTAMP:20211217T075812Z
UID:01534390f101ec57f71c7e9847f1010e
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210219
DTEND;VALUE=DATE:20210220
DTSTAMP:20211217T075812Z
UID:b86445e7bad69fd3d29ca3ef021f3dfc
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210226
DTEND;VALUE=DATE:20210227
DTSTAMP:20211217T075812Z
UID:8b0e4624a490de7f7d769dc7125ecc30
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210305
DTEND;VALUE=DATE:20210306
DTSTAMP:20211217T075812Z
UID:ffc879a4edd0c7120e23cea6b937782b
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210306
DTEND;VALUE=DATE:20210307
DTSTAMP:20211217T075812Z
UID:094a752ff3d967b98e497443af9678f3
CREATED:20210101T090000Z
DESCRIPTION:Papier Vereine nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papierbuendelsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210311
DTEND;VALUE=DATE:20210312
DTSTAMP:20211217T075812Z
UID:20846946656ed611a8d40bbf2a75f0c2
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210312
DTEND;VALUE=DATE:20210313
DTSTAMP:20211217T075812Z
UID:1d87512ee7b41bd55d5933da167d95b2
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210319
DTEND;VALUE=DATE:20210320
DTSTAMP:20211217T075812Z
UID:7ab4030f4b5528df3f17f578f6a035cb
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210326
DTEND;VALUE=DATE:20210327
DTSTAMP:20211217T075812Z
UID:a51cfc414d80cd07f74ebe5d8dbd01dc
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210403
DTEND;VALUE=DATE:20210404
DTSTAMP:20211217T075812Z
UID:40c361e81a677841d0e374c7979b5a54
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210409
DTEND;VALUE=DATE:20210410
DTSTAMP:20211217T075812Z
UID:2fabfad34b34a53f98cf2c9dbea73d22
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210410
DTEND;VALUE=DATE:20210411
DTSTAMP:20211217T075812Z
UID:f45aa1e8ca718db6445a2234ad613f88
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210416
DTEND;VALUE=DATE:20210417
DTSTAMP:20211217T075812Z
UID:924436c110712b516e0391b38420aad1
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210423
DTEND;VALUE=DATE:20210424
DTSTAMP:20211217T075812Z
UID:f423e01ed08315b9f5a2212c2719f0b1
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210430
DTEND;VALUE=DATE:20210501
DTSTAMP:20211217T075812Z
UID:fb0731892bb0ef58d206beada384ef15
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210505
DTEND;VALUE=DATE:20210506
DTSTAMP:20211217T075812Z
UID:4d1f19abb9f9d501112aa139cce4e2a5
CREATED:20210101T090000Z
DESCRIPTION:aaa
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Schadstoffsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210506
DTEND;VALUE=DATE:20210507
DTSTAMP:20211217T075812Z
UID:5d2f163276872db73fd3fd9c70cc3d02
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210507
DTEND;VALUE=DATE:20210508
DTSTAMP:20211217T075812Z
UID:0f9e575c01bd8dc6df41778ac75868cf
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210515
DTEND;VALUE=DATE:20210516
DTSTAMP:20211217T075812Z
UID:67bf3e57b2d4a27a34709e9600313dd2
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210521
DTEND;VALUE=DATE:20210522
DTSTAMP:20211217T075812Z
UID:6299ac46429777d639ad416c7b98ccd0
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210529
DTEND;VALUE=DATE:20210530
DTSTAMP:20211217T075812Z
UID:c1b5892cf1ca03d019e900811ab83c5b
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210603
DTEND;VALUE=DATE:20210604
DTSTAMP:20211217T075812Z
UID:8b16a953e087cacda630141bf92aa174
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210604
DTEND;VALUE=DATE:20210605
DTSTAMP:20211217T075812Z
UID:98b410ea6450b80065426b647cbe9408
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210605
DTEND;VALUE=DATE:20210606
DTSTAMP:20211217T075812Z
UID:780e01488c266fa1629d39416aef8a46
CREATED:20210101T090000Z
DESCRIPTION:Papier Vereine nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papierbuendelsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210611
DTEND;VALUE=DATE:20210612
DTSTAMP:20211217T075812Z
UID:bf5bc39392ebd6b39d9685e20cd976fe
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210618
DTEND;VALUE=DATE:20210619
DTSTAMP:20211217T075812Z
UID:6aa6fdc1a993009b7ee7d86d29ee8671
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210625
DTEND;VALUE=DATE:20210626
DTSTAMP:20211217T075812Z
UID:5ad6bded82d42fa7568a7f97a0f0277d
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210701
DTEND;VALUE=DATE:20210702
DTSTAMP:20211217T075812Z
UID:7a9d380303c5b15f2495a036d745bcc9
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210702
DTEND;VALUE=DATE:20210703
DTSTAMP:20211217T075812Z
UID:7298688a62467c312404678a9486db84
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210709
DTEND;VALUE=DATE:20210710
DTSTAMP:20211217T075812Z
UID:2b16e7458dea15fcbdc125a7a7581d43
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210716
DTEND;VALUE=DATE:20210717
DTSTAMP:20211217T075812Z
UID:bcdb892bc12461a58ac2c2fd7eb33802
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210723
DTEND;VALUE=DATE:20210724
DTSTAMP:20211217T075812Z
UID:5d017f242fbd99a36089fbe722135b21
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210729
DTEND;VALUE=DATE:20210730
DTSTAMP:20211217T075812Z
UID:6406782263fcfa58f76dd346577acf15
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210730
DTEND;VALUE=DATE:20210731
DTSTAMP:20211217T075812Z
UID:6cc7fdb964671729afe23311da89676f
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210806
DTEND;VALUE=DATE:20210807
DTSTAMP:20211217T075812Z
UID:bebbd3db3400e3af9a0ce3759d047dbe
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210812
DTEND;VALUE=DATE:20210813
DTSTAMP:20211217T075812Z
UID:8cc370f8da8a8542aa07bbcf3151fd86
CREATED:20210101T090000Z
DESCRIPTION:aaa
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Schadstoffsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210813
DTEND;VALUE=DATE:20210814
DTSTAMP:20211217T075812Z
UID:c709dd5652296a35b92a960cf4d7c666
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210820
DTEND;VALUE=DATE:20210821
DTSTAMP:20211217T075812Z
UID:92d4d3abb67f9ec6fc818347fcdfd81d
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210826
DTEND;VALUE=DATE:20210827
DTSTAMP:20211217T075812Z
UID:64d80c1ce782dcac3523659ff731a78c
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210827
DTEND;VALUE=DATE:20210828
DTSTAMP:20211217T075812Z
UID:7b1739cfec959adae7f1c59b66b04a19
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210828
DTEND;VALUE=DATE:20210829
DTSTAMP:20211217T075812Z
UID:d2c1bb900083f8cc3d881d46955c30cd
CREATED:20210101T090000Z
DESCRIPTION:Papier Vereine nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papierbuendelsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210903
DTEND;VALUE=DATE:20210904
DTSTAMP:20211217T075812Z
UID:91fce77e666692cd4414d581759c2737
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210910
DTEND;VALUE=DATE:20210911
DTSTAMP:20211217T075812Z
UID:01cca6c75c3c98c4fcf88d9d4c02be7b
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210917
DTEND;VALUE=DATE:20210918
DTSTAMP:20211217T075812Z
UID:332c2344260bd6d3c9df7d6e9e2a0962
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210923
DTEND;VALUE=DATE:20210924
DTSTAMP:20211217T075812Z
UID:f97b9e3fa19bd87a17d571941afff14a
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20210924
DTEND;VALUE=DATE:20210925
DTSTAMP:20211217T075812Z
UID:785289030366a5593070f51529eba050
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211001
DTEND;VALUE=DATE:20211002
DTSTAMP:20211217T075812Z
UID:8e84fa2d01370ed39ca538b19a06223d
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211008
DTEND;VALUE=DATE:20211009
DTSTAMP:20211217T075812Z
UID:304ce412d14129820aa750dafe8991f6
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211015
DTEND;VALUE=DATE:20211016
DTSTAMP:20211217T075812Z
UID:a862064feb4df41f5dbff082ea2f58cd
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211021
DTEND;VALUE=DATE:20211022
DTSTAMP:20211217T075812Z
UID:ed6fb09d4a4a168a17dae817733dbc8b
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211022
DTEND;VALUE=DATE:20211023
DTSTAMP:20211217T075812Z
UID:530105cd6bf0e4a4a17e511a0b31c947
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211029
DTEND;VALUE=DATE:20211030
DTSTAMP:20211217T075812Z
UID:f5aa032f9cd62a7ddd71b74b23af4a47
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211105
DTEND;VALUE=DATE:20211106
DTSTAMP:20211217T075812Z
UID:a2817c2356231d7e7686988dec09aad7
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211112
DTEND;VALUE=DATE:20211113
DTSTAMP:20211217T075812Z
UID:181b41b2335c01d03b9c0e4040b0d724
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211117
DTEND;VALUE=DATE:20211118
DTSTAMP:20211217T075812Z
UID:334d319eb80aaebed3563127bde3cb42
CREATED:20210101T090000Z
DESCRIPTION:aaa
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Schadstoffsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211118
DTEND;VALUE=DATE:20211119
DTSTAMP:20211217T075812Z
UID:4d3647220c1a6567d417e7a2d0c96ef3
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211119
DTEND;VALUE=DATE:20211120
DTSTAMP:20211217T075812Z
UID:b5f35bae86ff86826517180780e8e875
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211120
DTEND;VALUE=DATE:20211121
DTSTAMP:20211217T075812Z
UID:e520f3f7a3b65370ab1e95ef2e97e2a1
CREATED:20210101T090000Z
DESCRIPTION:Papier Vereine nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papierbuendelsammlung
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211126
DTEND;VALUE=DATE:20211127
DTSTAMP:20211217T075812Z
UID:1fbc47ba48403119fc8e3ce9548fd8e4
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211203
DTEND;VALUE=DATE:20211204
DTSTAMP:20211217T075812Z
UID:a6c101deeaac0fed4efecabca455f670
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211210
DTEND;VALUE=DATE:20211211
DTSTAMP:20211217T075812Z
UID:89ea73ffe4ccc521fb1ee067475271d4
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211216
DTEND;VALUE=DATE:20211217
DTSTAMP:20211217T075812Z
UID:b1ada656f35b4afecd7fa9d88880651d
CREATED:20210101T090000Z
DESCRIPTION:Papiertonne nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Papiertonne
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211217
DTEND;VALUE=DATE:20211218
DTSTAMP:20211217T075812Z
UID:e05df1cc0f00fdaf36ac96a5532305cd
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211224
DTEND;VALUE=DATE:20211225
DTSTAMP:20211217T075812Z
UID:b90a538140688624674f01af1803bfaf
CREATED:20210101T090000Z
DESCRIPTION:Gelber Sack nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211231
DTEND;VALUE=DATE:20220101
DTSTAMP:20211217T075812Z
UID:a505148152d788b38e8b89a412577707
CREATED:20210101T090000Z
DESCRIPTION:Hausmuell nicht vergessen!
LAST-MODIFIED:20210101T090000Z
LOCATION:xxx, yyy
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Hausmuell
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
```




Discussion:

Resolving patch:
diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py b/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py
--- a/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py
+++ b/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py
@@ -57,7 +57,7 @@ def convert(self, ics_data):
                 if self._split_at is not None:
                     summary = re.split(self._split_at, summary)
                     for t in summary:
-                        entries.append((dtstart, t.strip().capitalize()))
+                        entries.append((dtstart, t.strip().title()))
                 else:
                     entries.append((dtstart, summary))
 
diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py
--- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py
+++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py
@@ -115,7 +115,7 @@ def __init__(
         params=None,
         year_field=None,
         method="GET",
-        split_at="None",
+        split_at=None,
     ):
         self._url = url
         self._file = file


Test patch: