Invalid config when switch from configuration.yaml to !include

I have configuration.yaml and everything works great. If I want to split configuration to !include or !include_dir_list in home-assistant.log i have this error message:

For automation.yaml

16-12-18 19:07:16 homeassistant.bootstrap: Invalid config for [automation]: expected a dictionary. Got OrderedDict([('homeassistant', OrderedDict([('name', 'Home'), ('latitude', edit), ('longitude', edit), ('elevation', 42), ('unit_system', 'metric'), ('time_zone', 'edit')])), ('frontend', {}), ('http', OrderedDict([('api_password', 'edit')])), ('updater', {}), ('discovery', {}), ('conversation', {}), ('history', {}), ('logbook', {}), ('sun', {}), ('camera', [OrderedDict([('platform', 'foscam'), ('ip', '192.168.0.105'), ('name', 'Int'), ('port', edit), ('username', 'edit'), (.... (See ?:?). Please check the docs at https://home-assistant.io/components/automation/

In configuration.yaml I have this:

automation: !include automation.yaml

In automation.yaml I have this:

- alias: 'Beep when door open'
  initial_state: True
  hide_entity: False
  trigger:
    platform: state
    entity_id: binary_sensor.usadorm_mijloc
    to: 'on'
  action:
    service: ifttt.trigger
    data: {"event": "StatusUsa", "value1": "UsaDeschisa"}

I have tried even with !include_dir_list but the same result. It is only one automation.I can’t go forward since I fix these.

I have the same error when I want to split sensor too. I watch the Cookbook Configuration of others users and I can’t see where is the problem.

I use

automation: !include_dir_list automation

My automations are all single yaml files inside a directory called ‘automation’

No hyphens - a sample automation from file /automation/poweroutage.yaml

alias: power_outage
trigger:
  platform: event
  event_type: homeassistant_start
action:
  - delay:
     minutes: 1
  - service: light.turn_on
    entity_id: group.all_lights
  - delay:
     seconds: 1
  - service: light.turn_off
    entity_id: group.all_lights

Thank you @BarryHampants. I have eliminated hyphens from alias: and now it work.