Waste Collection Schedule Framework

Sorry, I didn’t get you point. Can you share an example or link your service provider?

The version attribute is not relevant for your issue.
Home assistant can be installed in many ways (and many locations), therefore there is no easy way to get the path for ICS files.
I have 2 advices:

  1. Absolute paths works in a lot of cases. In your example, the source files are located under /var/, but you wrote that you configured /avr/. Is this just a typo here?
  2. You can add a debug printf with os.getcwd() somewhere in the integration code to find out the current working directory of python. This could help to find the correct relative path.
  3. Try config/www/Abfallkalenderw.ics

This is an example:

There are multiple pages for regions and types of garbage (shown in url). Each day of collection has one ics.

Would be nice if you could add this to the plugin.

Thanks

Did you have any luck with the mentioned ics files? Can you integrate this supplier?

Hi, first of all this is a great plugin. I have a question, how can i delete a calendar? If want to remove it under entities it says “write protected”.

Will be fixed in the next release.

Yes, I can be integrated but needs a new source. Please create a pull-request or raise an issue.

Hello all,
I am struggeling with the sensors (I guess). They do not show up at all. At least not with their current name.
The values from the .ics show up in the normal calendar, so I guess this part should be fine.

waste_collection_schedule:
  sources:
    - name: ics
      args:
        file: "www/muell.ics"
      customize:
        - type: Gelber Sack
          alias: plastik
          icon: mdi:trash-can
        - type: Biotonne
          alias: bio
          icon: mdi:trash-can
        - type: Restmuell 14-taegig
          alias: rest
          icon: mdi:trash-can
        - type: Altpapier
          alias: papier
          icon: mdi:trash-can
  fetch_time: "04:00"
  day_switch_time: "10:00"

sensor:
  - platform: waste_collection_schedule
    name: Abfallplastik
    value_template: '{{value.daysTo}}'
    types:
      -  plastik
  - platform: waste_collection_schedule
    name: AbfallBiomuell
    details_format: "upcoming"
    value_template: '{{value.daysTo}}'
    types:
      - bio
  - platform: waste_collection_schedule
    name: AbfallRestmuell
    details_format: "upcoming"
    value_template: '{{value.daysTo}}'
    types:
      - rest
  - platform: waste_collection_schedule
    name: AbfallAltpapier
    value_template: '{{value.daysTo}}'
    types:
      - papier


And the corresponding ics file:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-CALSTART:20220426T000000
X-CALEND:20230104T000000
X-WR-RELCALID:{0000002E-BB3D-96B1-6C5E-0F1625742422}
X-WR-CALNAME:muell
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack. \n\nDieser Eintrag wurde von der 
	Muell App erstellt! \nMehr Infos auf www.muellapp.com\n\nDie Muell App gib
	t es auch fuer das Smartphone \nfuers iPhone -> www.muellapp.com/iphone\nf
	uer Android -> www.muellapp.com/android \n\nBei Fragen\, Wuenschen oder Fe
	edback einfach ein E-Mail an [email protected] senden\n- www.facebook.com/
	muellapp
DTEND;VALUE=DATE:20220521
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220520
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:0398d1c34cc7b67b4263b9e0488d2534
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack.
DTEND;VALUE=DATE:20220702
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220701
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:0a52092c318514c8913a2848cc4b4f31
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack. 
DTEND;VALUE=DATE:20220813
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220812
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:2b644202fa9d95c85bb64625f3c3e192
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack. 
DTEND;VALUE=DATE:20220924
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220923
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:0b05a3518fa7d0350763746994a5af74
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack. 
DTEND;VALUE=DATE:20221106
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221105
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:bb44299b00d5f1b44fb28bd9bb961114
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Gelber Sack. 
DTEND;VALUE=DATE:20221217
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221216
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Gelber Sack
TRANSP:TRANSPARENT
UID:ebf721da80f119a184f98740bb97f36a
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220427
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220426
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:5ba3ce9eb88a3cc21205a6b9beb7bde2
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220504
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220503
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:c994a10d4193bdf18102f86693e6090b
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220511
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220510
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:437707836fd10e5634d10e706a96220b
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220518
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220517
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:467edfb998a892492953eb834413c2f0
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220525
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220524
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:23f9b39aa1d7238f675287fcb636a147
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220601
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220531
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:dd09343fc9038318ea485728544a2b6e
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220609
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220608
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:4e93a205db58e81e93f0b6a1de0f9381
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220614
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220613
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:2b004dba4d7b4114db18b56ee5a0c6df
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220622
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220621
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:d3b5d4cf6b6981e388aacc05985c5d33
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220629
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220628
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:85f1d28b39e198ad590c21c2cbf183d2
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220706
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220705
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:535a2d93a450c9864cd62c53deea2d68
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220713
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220712
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:f59d5a920a66996cb13b77537fd0d386
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220720
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220719
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:cea941f8d7043f2a8db7df6c35737c5f
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220727
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220726
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:17e4a471fc81f98bef6255a1c145062a
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220803
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220802
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:fc61f0b7a6b86ddbb893d04e2a7c492c
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220810
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220809
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:6bf0439e3815246fb97048d2299af58e
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220818
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220817
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:62f131148127359fd0e84679512f22ff
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220824
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220823
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:62654f4f79d06db15fddf8fd360a02e2
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220831
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220830
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:20f26574357e55776b7b00b9a9ff9ec7
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220907
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220906
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:054a5bc3b3855ccafc82085570683639
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220914
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220913
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:e1901dea80d2d37b3a5e088a6d4f4a11
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220921
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220920
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:6cd14c7bc2bd2b36464ca1ddc7c9c125
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20220928
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220927
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:2fd4c0c8095392b899c24549f8bbc661
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221005
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221004
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:2a6b5a7416f7198f795b53cdc32b3264
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221012
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221011
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:ef6164933723c4a51439f08df677e2ef
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221019
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221018
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:8da4ec84588c42278eff47d520a3710f
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221026
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221025
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:ddab612573cddf4cd3e37662c939ebe2
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221109
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221108
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:0bcb151c7208a04b0b5f1cba6f8a000a
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221123
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221122
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:6c86b53621f507fc0e4e06c969e20449
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221207
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221206
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:21fbaf0b0479f4084677bf33a922c4cc
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20221221
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221220
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:bcf02eafc986b693afc961eca40027a8
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Biotonne. 
DTEND;VALUE=DATE:20230104
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20230103
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Biotonne
TRANSP:TRANSPARENT
UID:4f3ff9f9d2bde9dd506eeaa97de46abe
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220427
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220426
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:81274d77edba48600aaf24f2c535e775
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220511
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220510
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:2591cd1927943f270f8356616f2adbda
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220525
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220524
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:a36050e2c1042183d0172be5f10110da
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220609
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220608
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:8d64f4d67a1b438b2a62b358c6f753cf
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220622
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220621
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:a3cf90049331d4a5ce9a5b2f823ebb47
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220706
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220705
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:d052c980cd6ff9947d7e2f1576192a35
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220720
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220719
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:995b38366d415173b1e9a53f0b6e91a8
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220803
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220802
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:7dac0631bd333f34c286615a2a9798a7
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220818
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220817
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:b62b78c73c63361282b6037a99b0124a
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220831
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220830
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:c408e8a6ca983d8227a8f09c88517a23
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220914
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220913
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:5bbd6609123a3945708b82ae4b76c94b
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20220928
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220927
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:c4ed9dc9007adff93c4070399e0e6fa0
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221012
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221011
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:b7adf18a69ccb4a24258e0cd24d1b7d9
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221026
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221025
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:1a346292646b34da00e7febe5928f675
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221109
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221108
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:b9cc55ec842d6a79e862ca560110d54d
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221123
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221122
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:c43cf56db96f6dca44166aa44ad97827
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221207
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221206
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:ba3976c9421dccfb5ebd3d59632a90a1
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Restmuell
DTEND;VALUE=DATE:20221221
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221220
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Restmuell 14-taegig
TRANSP:TRANSPARENT
UID:aba97a2f91ace0ff43a59e181a7e82eb
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220506
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220505
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:db06b2b0a1789d4ed0f79cbdda9a0440
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220528
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220527
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:820f5e482487fa0ae9579358dcb7268f
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220618
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220617
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:2900a89d63db6d2de232f5a07e41944d
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220708
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220707
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:45f8d988a98719b6b98547abae2c6717
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220729
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220728
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:544f54721f44cb87f12ca1886e48cc40
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220820
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220819
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:6e857163514f40e17bc08666eff316c5
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220909
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220908
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:818ade42b2335a4c82b3a7fe9fd30a54
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20220930
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20220929
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:808b0ec3fa8f3f90220120961763db3c
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20221021
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221020
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:8758daa69137613d4448e0d0998b9787
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20221111
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221110
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:bc011c15886b784b4098ee040718750f
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20221202
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221201
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:44b417d4c36630f11c5a6fecd15f2e5e
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20220422T143231Z
DESCRIPTION:Abholtermin fuer Altpapier
DTEND;VALUE=DATE:20221223
DTSTAMP:20220422T133024Z
DTSTART;VALUE=DATE:20221222
LAST-MODIFIED:20220422T143231Z
PRIORITY:5
SEQUENCE:0
SUMMARY:Altpapier
TRANSP:TRANSPARENT
UID:c739f78f64d473bc53c912b8ad90967a
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-MICROSOFT-CDO-IMPORTANCE:1
END:VEVENT
END:VCALENDAR

What do I do wrong?

Thank you very much,
Francesco

Your configuration is working fine on my machine. All 4 sensors return valid numbers. What are you missing?

I do not know, the sensors just don’t show up. Also in the Log nothing is mentioned. At least I know the config is fine :slight_smile: thank you very much, I will continue trying…

EDIT: the sensors are included as


image

Could it be, that it does not recognize the platform?

EDIT2: I did update Home Assistant, and all of a sudden it works :+1:

1 Like

I love this, but struggling myself.
Only problem is I have no idea where to start as my waste collection site is nothing like the other integrations. Normally I would ‘pinch’ others code to try and make it work for me, but I’m going round in circles, and have even tried to resort to using nodered to extract what I need, but its terribly long winded and unreliable.
I don’t want to ask someone to ‘do it’ but I would appreciate pointers on how I could potentially get the following site to work as a source. It only shows one month at a time or allows for a yearly pdf to be generated.
Waste collection calendar - Wiltshire Council
Example data (its a cafe):
SN11 0JQ
35A New Road

Your service provider requires a dedicated source. Therefore add a python file in the source folder and do exactly what your browser does. You can examine the http traffic with the browser’s developer tools (network tab).

Thanks, I can see the data I need but maybe I just don’t get it when it comes to cycling the calendar page to gather the dates when the collection falls in the following month. I’ll have another look and some other sources to see if I can figure it out.

Hi,

I tried to set up this framework on my (synology docker) HA v2022.3.8, both manually first and with HACS later but I keep getting the same error:

Logger: homeassistant.setup
Source: setup.py:298
First occurred: 1:08:10 PM (1 occurrences)
Last logged: 1:08:10 PM

Unable to prepare setup for platform waste_collection_schedule.calendar: Platform not found (cannot import name 'CalendarEntity' from 'homeassistant.components.calendar' (/usr/src/homeassistant/homeassistant/components/calendar/__init__.py)).

My configuration.yaml:

waste_collection_schedule:
  sources:
    - name: ics
      args:
        url: "https://calendar.google.com/calendar/ical/xxxxxxgroup.calendar.google.com/public/basic.ics"

CalendarEntity has been added to HA 2022.5 and at the same time they deprecated the previous solution (which is very short-term :frowning: ). You either have to upgrade HA to 2022.5 or downgrade waste_collection_schedule to 1.19.

1 Like

[EDIT - Seems to be working with a dummy UPRN]

Trying to set this up, I’ve not even added any sensors yet all I have in configuration.yaml is :

waste_collection_schedule:
  sources:
    - name: guildford_gov_uk
      args:
        service: Null

On HA restart I get “The following integrations and platforms could not be set up:” I’ve turned on debugging for this custom component but still get nothing in the logs. Without adding the Null arg there, I can’t get the configuration check to pass. There are no args to pass here as my python script only returns my schedule.

My local council has some server side javascript to return the waste day. I ended up using firefox debugger to find the POST operation to return my schedule. With this I amended the python to return the schedule as I believe the integration should expect it. With a print(entities) in guildford_gov_uk.py I get the following from test_sources.py which looks correct ?

/config/custom_components/waste_collection_schedule/waste_collection_schedule/test # python3 test_sources.py -s guildford_gov_uk
Testing source guildford_gov_uk ...
[Collection{date=2022-06-06, type=Refuse}, Collection{date=2022-06-06, type=Food}, Collection{date=2022-06-13, type=Recycling}, Collection{date=2022-06-06, type=Garden Waste}]
  found 4 entries for GU12

Thanks.

Hi.

Wakefield Council in the UK doesnt have an API but Greg Hesp has managed to get around this and uploaded and will hopefully be in the next version of this great HACS Addon.

Ive uploaded the wakefield_gov_uk.py file to sources and put the below in my configuration.yaml file and restarted.

All I get is a new calendar and UNKNOWN.

Do I need to create the sensors or should all info be originally be in the calendar and then we can breakout from there with the sensors ?

waste_collection_schedule:
    sources:
    - name: wakefield_gov_uk
      args:
        uprn: 63121996

The uprn number is not my street but one in the wakefield area. I use my own number.

Is there a command to test to see what it pulls down anywhere ?

Thanks in Advance

Martyn

Yes, use test_sources.py - eg :

/config/custom_components/waste_collection_schedule/waste_collection_schedule/test # python test_sources.py -s york_gov_uk
Testing source york_gov_uk ...
  found 71 entries for Reighton Avenue, York
  found 71 entries for Granary Walk, York

[Edit] - you will need to add some test address URPNs to your wakefield_gov_uk file

Hi

I found that after I posted from the person above. I dont have Beautiful Soup installed currently but will try later

Cheers

For anyone in The wonderful county of Shropshire in the UK I have a working setup. They have 3 calendar files one for rubbish another for recycling and the last for garden waste.

Go onto When is my bin collected? | Shropshire Council follow instructions to find the calendar download, copy the link address, for each file and put it in the sources

waste_collection_schedule:
  sources:

    - name: ics
      args:
        url: "Download link address"
        version: 1

    - name: ics
      args:
        url: "Download link address"
        version: 1

    - name: ics
      args:
        url: "Download link address"
        version: 1
sensor:

  - platform: waste_collection_schedule
    source_index: 0
    name: Rubbish  # Change this to whatever you want the UI to display
    details_format: generic
    date_template: '{{value.date.strftime("%A %d %B %Y")}}'  # date format becomes 'Tuesday 1 April 2022'
    value_template: 'in {{value.daysTo}} days'

  - platform: waste_collection_schedule
    source_index: 1
    name: Recycling  # Change this to whatever you want the UI to display
    details_format: generic
    date_template: '{{value.date.strftime("%A %d %B %Y")}}'  # date format becomes 'Tuesday 1 April 2022'
    value_template: 'in {{value.daysTo}} days'

  - platform: waste_collection_schedule
    source_index: 2
    name: Garden  # Change this to whatever you want the UI to display
    details_format: generic
    date_template: '{{value.date.strftime("%A %d %B %Y")}}'  # date format becomes 'Tuesday 1 April 2022'
    value_template: 'in {{value.daysTo}} days'
1 Like