Hello, my name is Volker. i come from Germany and i use a translator program, i hope that the program translates my text understandable.
I would like to add the waste calendar in my homeassitent, I followed a tutorial in this video.
The eintagen of the parameters in the file editor has worked so far, then the author of the video talked about that he outsources sensors in another yaml file, from then on the errors started with me, actually I have the Prejekt yesterday already abandoned, but I am very energetic, above all I know that runs and I would like to get it to run, unfortunately I have no idea of programming, so I would be grateful if you take me as an absolute beginner and I would be happy if I could complete the project with your help.
I entered the following lines with the file editor into the configuration.yaml,
waste_collection_schedule:
sources:
- name: Abfallkalender
args:
file: “Abfallkalender.ics”
customize:
- type: Graue Tonne
alias: rest
icon: mdi:trash-can
- type: Braune Tonne
alias: bio
icon: mdi:trash-can
- type: Gelbe Tonne
alias: gelb
icon: mdi:trash-can
- type: Blaue Tonne
alias: papier
icon: mdi:trash-can
fetch_time: “04:00”
day_switch_time: “10:00”
then came the point with the sensors, can’t I just write the parameters under the previous parameters ??
I tried, but when checking the configuration came an error message
The parameters of the sensors looks like this
sensor:
-
platform: waste_collection_schedule
name: AbfallGraueTonne
details_format: “upcomming”
value_template: ‘{{ value.daysTo}}’
types:- rest
-
platform: waste_collection_schedule
name: AbfallBrauneTonne
details_format: “upcomming”
value_template: ‘{{ value.daysTo}}’
types:- bio
-
platform: waste_collection_schedule
name: AbfallGelbeTonne
details_format: “upcomming”
value_template: ‘{{ value.daysTo}}’
types:- gelb
-
platform: waste_collection_schedule
name: AbfallBlaueTonne
details_format: “upcomming”
value_template: ‘{{ value.daysTo}}’
types:- papier
I would like to thank you in advance for your help