Suddenly I get an error in my conf file?

Hi,

Can anyone see whats wrong here?

Error loading /config/configuration.yaml: expected ‘<document start>’, but found ‘<block mapping start>’ in “/config/configuration.yaml”, line 17, column 1

 homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 55.534047
  longitude: 9.613470
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: UTC
  # Customization file
  customize: !include customize.yaml

# File include
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
sensor: !include sensors.yaml
alarm_control_panel: !include alarm.yaml
panel_custom: !include panel_custom.yaml
scene: !include scene.yaml

Tried copying to a new file - no success…
If I remove all of the file included, then it just fails on whatever the next line is.

Help!

Is your first line indented? It shouldn’t be.

Thats the only thing that jumps out to me.

What is in your groups.yaml file?

Don’t you dare tell me the first line of your groups.yaml file is “group:”… If so, welcome to the world of everyone did that when they first started splitting things up. :slight_smile:

1 Like

I am betting that is exactly what’s in it…

Very well spotted… My notepad kept adding a space at the very beginning. Just updated notepad and now it doesn’t readd it!

THANK YOU!

Haha no :smile:

That must be the only thing I HAVENT done wrong so far :wink:

It was the whitespace in front of my homeassistant that did the triick!

I didn’t see “config:” anywhere.

Didn’t copy the whole config… :slight_smile: