YAML file edit error

Hey there!

i want to configure something in an .yaml file… but i’m getting an error.

end of the stream or a document separator is expected (9:1)

  6 |     
  7 | ########################## Müll ...
  8 | 
  9 | waste_collection_schedule:
------^
 10 | - platform: waste_collection_sc ...```

```########################## Müllabfuhr ###########################

waste_collection_schedule:
- platform: waste_collection_schedule
  name: Papierabfall_date
  value_template: '{{value.date.strftime("%d.%m.%Y")}}'
  types:
    - Papiertonne
- platform: waste_collection_schedule
  name: Papierabfall_collection
  value_template: "{{value.daysTo}}"
  types:```

Can somebody help me?

Thx!
Br
1 Like

probably Indentation … the whole section after the line should be indented 2 spaces

waste_collection_schedule:
  - platform: waste_collection_schedule
    name: Papierabfall_date
    value_template: '{{value.date.strftime("%d.%m.%Y")}}'
    types:
      - Papiertonne
  - platform: waste_collection_schedule
    name: Papierabfall_collection
    value_template: "{{value.daysTo}}"
    types:```