Broken YAML line 3 column 1

??? I just tried to add something to my config.yaml (nowhere near line 3) and i’ve broken it on line three, even though I didn’t touch line three???

end of the stream or a document separator is expected at line 3, column 1:
    default_config:
    ^
Error loading /config/configuration.yaml: expected '<document start>', but found '<block mapping start>'
in "/config/configuration.yaml", line 3, column 1

So confused, even after taking out the added code, still getting the same error… WTF LOL?

Here re the first few lines:

homeassistant
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
  
withings:
1 Like

The issue appears to be on line 1, it should be homeassistant: (you’re missing the colon)

1 Like

Its always something simple isn’t it HAHA

Thanks mate :slight_smile:

1 Like

Hey!
I get the same 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:```

Thanks!
Br