Invalid Configuration.yaml - Automations Line 10

This is doing my head in, and i feel i’m chasing my tail. A second pair of eyes would be great. I rebuilt most things today and have done a big cleanup due to a failed Hue Bridge. Anyway i’m now getting the following error:

Logger: homeassistant.config
Source: config.py:415
First occurred: 20:39:56 (2 occurrences)
Last logged: 20:39:56

Invalid config for [automation]: (See /config/configuration.yaml, line 9).

This is my config.html

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

# Text to speech
tts:
  - platform: google_translate
homeassistant:
  internal_url: http://192.168.0.***:*Port*

  automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#secrets: !include secrets.yaml
# Example configuration.yaml entry
media_player:
  - platform: yamaha
    host: 192.168.0.111
spotify:
  client_id: **Hidden**
  client_secret: **Hidden**
mqtt:
  broker: 172.17.0.1
light: 
  - platform: group
    name: Middle Floor Lights
    entities:
      - light.arlecrgbw
  - platform: nanoleaf
    host: 192.168.0.121
    token: **Hidden** #To get this token send a postman request to API... https://www.home-assistant.io/integrations/nanoleaf/
  - platform: group
    name: Kitchen Lights
    entities:
      - light.kitchen_under_bench_rgbw
      - light.led_strip #Kitchen Under Cupboard lights. This needs to be renamed
  #climate:
#  - platform: generic_thermostat
#    name: Middle Floor
#    heater: light.lounge_heater_hue
#    target_sensor: sensor.pir_kitchen_and_dining_temperature
 
    
    
#homekit:
#  filter:
#    include_entities:
      # Replaced with Conbee - input_boolean.bathroom_motion
      # Replaced with Conbee- input_boolean.kitchen_dining_motion_bridge
      # Replaced with Conbee - input_boolean.lower_stairs_motion_bridge
      #- input_boolean.ground_hallway_motion_bridge
      # Replaced with Conbee - input_boolean.lounge_area_motion_bridge
      # Replaced with Conbee - input_boolean.office_area_motion_bridge    


Remove the indentation before automation: .... It should start at the same level as e.g. mqtt:.

Currently it is part of the homeassistant: block and that’s ibcorrect.

1 Like

Arrggh… I fixed it. I had some Manual Automations that were linking to soe Entities that i deleted or renamed.

1 Like