Configuration Error File

Here is the error I get for the yaml file attached.

Invalid config for [automation]: [entry_id] is an invalid option for [automation]. Check: automation->trigger->0->entry_id. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/ Invalid config for [alarm_control_panel.manual]: expected a dictionary for dictionary value @ data[‘triggered’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/alarm_control_panel.manual/

Any help would be appreciated.

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

# Enables the frontend
frontend:

# Enables configuration UI
config:

#Enable Bluetooth Feature
device_tracker:
  - platform: bluetooth_tracker

# API Password
http:
  api_password: !secret api_password
  
# Ring Driveway Camera    
# camera:
#   - platform: ring
#     ring:
# Secert Passwords
#     username: !secret ring_name
#     password: !secret ring_password    

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
#conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google

# Cloud
cloud:

# HomeKit
homekit:

# automation: !include automations.yaml
# group: !include groups.yaml

panel_iframe:
  configurator:
    title: 'Configurator'
    url: 'http://192.168.1.7:3218'
    icon: mdi:wrench
  ide:
    title: IDE
    icon: mdi:code-brackets
    url: http://192.168.1.7:8321

################### Setting up Groups #####################
group:
  Garage_Doors:
    name: Garage Doors
    entities:
      -  binary_sensor.garage_door_one_closed
      -  binary_sensor.garage_door_one_opened
      -  binary_sensor.garage_door_two_closed
      -  binary_sensor.garage_door_two_opened
      -  binary_sensor.garage_door_three_closed
      -  binary_sensor.garage_door_three_opened
  Smoke Detectors:
    name: Smoke Fire Detectors
    entities:
      - binary_sensor.smoke_detectors
  Glass Breakage Sensors:
    name: Glass Breakage Sensors
    entities:
      - binary_sensor.coffee_glass_breakage
      - binary_sensor.den_glass_breakage
      - binary_sensor.dinning_glass_breakage
      - binary_sensor.family_glass_breakage
      - binary_sensor.cellar_bars
  Doors:
    name: Doors
    entities:
      - binary_sensor.family_outside_door
      - binary_sensor.foyer_outside_door
      - binary_sensor.mudroom_garage_door
      - binary_sensor.mudroom_outside_door
      - binary_sensor.kitchen_outside_door
  Motion Detectors:
    name: Motion Detector
    entities:
      - binary_sensor.foyer_motion_detector
  Mostures:
    name: Water Detection
    entities:
      - binary_sensor.sump_float_level                

# zwave:
#  usb_path: /dev/ttyACM0

#switch:
#  platform: "Garage Light"
#  command_topic: "cmd/sonoff/power"
#  state_topic: "stat/sonoff/POWER"
#  qos: 1
#  payload_on: "ON"
#  payload_off: "OFF"

############# Konnected Alarm System Boards ###############
konnected:
  access_token: konnected_token
  api_host: 'http://192.168.1.7:8123'
  devices:
# Board One
    - id: 807d3a3e207c
      binary_sensors:
        - zone: 1
          type: door
          name: Mudroom Garage Door
        - zone: 2
          type: door
          name: Mudroom Outside Door
        - zone: 3
          type: door
          name: Kitchen Outside Door
        - zone: 4
          type: door
          name: Family Outside Door
        - zone: 5
          type: door
          name: Foyer Outside Door
 # Board Two
    - id: 807d3a3ea28a
      binary_sensors:
        - zone: 1
          type: window
          name: Den Glass Breakage
        - zone: 2
          type: window
          name: Coffee Glass Breakage
        - zone: 3
          type: window
          name: Family Glass Breakage
        - zone: 4
          type: window
          name: Dinning Glass Breakage
        - zone: 5
          type: motion
          name: Foyer Motion Detector
#         zone: 6
#         type:
#       - name:
# Board Three
    - id: 807d3a3e2422
      binary_sensors:
        - zone: 1
          type: garage_door
          name: Garage Door One Opened
        - zone: 2
          type: garage_door
          name: Garage Door One Closed
        - zone: 3
          type: garage_door
          name: Garage Door Two Opened
        - zone: 4
          type: garage_door
          name: Garage Door Two Closed
        - zone: 5
          type: garage_door
          name: Garage Door Three Opened
        - zone: 6
          type: garage_door
          name: Garage Door Three Closed
 # Board Four
    - id: 807d3a3ea136
      binary_sensors:
        - zone: 1
          type: smoke
          name: Smoke Detectors
        - zone: 2
          type: moisture
          name: Sump Float Level 
        - zone: 3
          type: window
          name: Cellar Bars
#         name: 
#       - zone: 4
#         type: 
#         name: 
#       - zone: 5
#         type: 
#         name:       
#       - zone: 6
#         type: 
#         name: 

############# Konnected Alarm System Times ##############
alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: !secret alarm_code
    trigger_time: 300
    disarmed:
      trigger_time: 0
    armed_home:
      delay_time: 0
      pending_time: 0
    armed_away:
      delay_time: 60
      pending_time: 30
    triggered:
    pending_time: 0

########### Konnected Alarm System Automation ###########
automation 1:
- alias: Trigger alarm while armed home or away
  trigger:
    - platform: state
      entry_id: binary_sensor.mudroom_garage_door
      to: 'on'
    - platform: state
      entry_id: binary_sensor.mudroom_outside_door
      to: 'on'
    - platform: state
      entry_id: binary_sensor.kitchen_outside_door  
      to: 'on'
    - platform: state
      entry_id: binary_sensor.family_outside_door 
      to: 'on'
    - platform: state
      entry_id: binary_sensor.foyer_outside_door
      to: 'on'
    - platform: state
      entry_id: binary_sensor.den_glass_breakage
      to: 'on'
    - platform: state
      entry_id: binary_sensor.coffee_glass_breakage
      to: 'on'
    - platform: state
      entry_id: binary_sensor.family_glass_breakage
      to: 'on'
    - platform: state
      entry_id: binary_sensor.dinning_glass_breakage
      to: 'on'
    - platform: state
      entry_id: binary_sensor.foyer_motion_detector
      to: 'on'
    - platform: state
      entry_id: binary_sensor.smoke_detectors
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_one_closed
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_one_open
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_two_closed
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_two_open
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_three_closed
      to: 'on'
    - platform: state
      entry_id: binary_sensor.garage_door_three_open
      to: 'on'
    - platform: state
      entry_id: binary_sensor.sump_float_level
      to: 'on'
    - platform: state
      entry_id: binary_sensor.cellar_bars
      to: 'on'
  condition:
    - condition: state
      entity_id: alarm_control_panel.alarm
      state: armed_away
    - condition: state
      entity_id: alarm_control_panel.alarm
      state: armed_home
  action:
    service: alarm_control_panel.alarm_trigger
    entity_id: alarm_control_panel.alarm

automation 2:
  - alias: 'Send notification when Alarm Triggered'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm
        to: 'triggered'
    action:
      - service: notify.notify
        data:
          message: "ALARM! ALARM! - The Home Alarm has been Activated"

triggered:
pending_time: 0

is not the same indentation as above

  1. you don’t need 2 automation sections. Remove the ’ 1’ and ‘automation 2:’. All automations go under 1 section unless you are attempting to split your config. You are not because everything is in one file.

  2. you can shorten your trigger section to contain a list of entities.

  3. I took the liberty of fixing your spacing as well.

  4. in your first automation, entity_id was named entry_id. This is where your error is coming from

I bolded the part of the error that is important.


Here is what it would look like with all the changes.

########### Konnected Alarm System Automation ###########
automation:
  - alias: Trigger alarm while armed home or away
    trigger:
      - platform: state
        to: 'on'
        entity_id: 
          - binary_sensor.mudroom_garage_door
          - binary_sensor.mudroom_outside_door
          - binary_sensor.kitchen_outside_door  
          - binary_sensor.family_outside_door 
          - binary_sensor.foyer_outside_door
          - binary_sensor.den_glass_breakage
          - binary_sensor.coffee_glass_breakage
          - binary_sensor.family_glass_breakage
          - binary_sensor.dinning_glass_breakage
          - binary_sensor.foyer_motion_detector
          - binary_sensor.smoke_detectors
          - binary_sensor.garage_door_one_closed
          - binary_sensor.garage_door_one_open
          - binary_sensor.garage_door_two_closed
          - binary_sensor.garage_door_two_open
          - binary_sensor.garage_door_three_closed
          - binary_sensor.garage_door_three_open
          - binary_sensor.sump_float_level
          - binary_sensor.cellar_bars
    condition:
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_away
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_home
    action:
      - service: alarm_control_panel.alarm_trigger
        entity_id: alarm_control_panel.alarm

  - alias: 'Send notification when Alarm Triggered'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm
        to: 'triggered'
    action:
      - service: notify.notify
        data:
          message: "ALARM! ALARM! - The Home Alarm has been Activated"

Thank you for sharing, I update the configuration file, still getting the following error:

Configuration invalidCHECK CONFIG

Invalid config for [alarm_control_panel.manual]: expected a dictionary for dictionary value @ data[‘triggered’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/alarm_control_panel.manual/

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

# Enables the frontend
frontend:

# Enables configuration UI
config:

#Enable Bluetooth Feature
device_tracker:
  - platform: bluetooth_tracker

# API Password
http:
  api_password: !secret api_password
  
# Ring Driveway Camera    
# camera:
#   - platform: ring
#     ring:
# Secret Passwords
#     username: !secret ring_name
#     password: !secret ring_password    

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
#conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google

# Cloud
cloud:

# HomeKit
homekit:

# automation: !include automations.yaml
# group: !include groups.yaml

panel_iframe:
  configurator:
    title: 'Configurator'
    url: 'http://192.168.1.7:3218'
    icon: mdi:wrench
  ide:
    title: IDE
    icon: mdi:code-brackets
    url: http://192.168.1.7:8321

################### Setting up Groups #####################
group:
  Garage_Doors:
    name: Garage Doors
    entities:
      -  binary_sensor.garage_door_one_closed
      -  binary_sensor.garage_door_one_opened
      -  binary_sensor.garage_door_two_closed
      -  binary_sensor.garage_door_two_opened
      -  binary_sensor.garage_door_three_closed
      -  binary_sensor.garage_door_three_opened
  Smoke Detectors:
    name: Smoke Fire Detectors
    entities:
      - binary_sensor.smoke_detectors
  Glass Breakage Sensors:
    name: Glass Breakage Sensors
    entities:
      - binary_sensor.coffee_glass_breakage
      - binary_sensor.den_glass_breakage
      - binary_sensor.dinning_glass_breakage
      - binary_sensor.family_glass_breakage
      - binary_sensor.cellar_bars
  Doors:
    name: Doors
    entities:
      - binary_sensor.family_outside_door
      - binary_sensor.foyer_outside_door
      - binary_sensor.mudroom_garage_door
      - binary_sensor.mudroom_outside_door
      - binary_sensor.kitchen_outside_door
  Motion Detectors:
    name: Motion Detector
    entities:
      - binary_sensor.foyer_motion_detector
  Mostures:
    name: Water Detection
    entities:
      - binary_sensor.sump_float_level                

# zwave:
#  usb_path: /dev/ttyACM0

#switch:
#  platform: "Garage Light"
#  command_topic: "cmd/sonoff/power"
#  state_topic: "stat/sonoff/POWER"
#  qos: 1
#  payload_on: "ON"
#  payload_off: "OFF"

############# Konnected Alarm System Boards ###############
konnected:
  access_token: konnected_token
  api_host: 'http://192.168.1.7:8123'
  devices:
# Board One
    - id: 807d3a3e207c
      binary_sensors:
        - zone: 1
          type: door
          name: Mudroom Garage Door
        - zone: 2
          type: door
          name: Mudroom Outside Door
        - zone: 3
          type: door
          name: Kitchen Outside Door
        - zone: 4
          type: door
          name: Family Outside Door
        - zone: 5
          type: door
          name: Foyer Outside Door
 # Board Two
    - id: 807d3a3ea28a
      binary_sensors:
        - zone: 1
          type: window
          name: Den Glass Breakage
        - zone: 2
          type: window
          name: Coffee Glass Breakage
        - zone: 3
          type: window
          name: Family Glass Breakage
        - zone: 4
          type: window
          name: Dinning Glass Breakage
        - zone: 5
          type: motion
          name: Foyer Motion Detector
#         zone: 6
#         type:
#       - name:
# Board Three
    - id: 807d3a3e2422
      binary_sensors:
        - zone: 1
          type: garage_door
          name: Garage Door One Opened
        - zone: 2
          type: garage_door
          name: Garage Door One Closed
        - zone: 3
          type: garage_door
          name: Garage Door Two Opened
        - zone: 4
          type: garage_door
          name: Garage Door Two Closed
        - zone: 5
          type: garage_door
          name: Garage Door Three Opened
        - zone: 6
          type: garage_door
          name: Garage Door Three Closed
 # Board Four
    - id: 807d3a3ea136
      binary_sensors:
        - zone: 1
          type: smoke
          name: Smoke Detectors
        - zone: 2
          type: moisture
          name: Sump Float Level 
        - zone: 3
          type: window
          name: Cellar Bars
#         name: 
#       - zone: 4
#         type: 
#         name: 
#       - zone: 5
#         type: 
#         name:       
#       - zone: 6
#         type: 
#         name: 

############# Konnected Alarm System Times ##############
alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: !secret alarm_code
    trigger_time: 300
    disarmed:
      trigger_time: 0
    armed_home:
      delay_time: 0
      pending_time: 0
    armed_away:
      delay_time: 60
      pending_time: 30
    triggered:
    pending_time: 0

########### Konnected Alarm System Automation ###########
automation:
  - alias: Trigger alarm while armed home or away
    trigger:
      - platform: state
        to: 'on'
        entity_id: 
          - binary_sensor.mudroom_garage_door
          - binary_sensor.mudroom_outside_door
          - binary_sensor.kitchen_outside_door  
          - binary_sensor.family_outside_door 
          - binary_sensor.foyer_outside_door
          - binary_sensor.den_glass_breakage
          - binary_sensor.coffee_glass_breakage
          - binary_sensor.family_glass_breakage
          - binary_sensor.dinning_glass_breakage
          - binary_sensor.foyer_motion_detector
          - binary_sensor.smoke_detectors
          - binary_sensor.garage_door_one_closed
          - binary_sensor.garage_door_one_open
          - binary_sensor.garage_door_two_closed
          - binary_sensor.garage_door_two_open
          - binary_sensor.garage_door_three_closed
          - binary_sensor.garage_door_three_open
          - binary_sensor.sump_float_level
          - binary_sensor.cellar_bars
    condition:
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_away
      - condition: state
        entity_id: alarm_control_panel.alarm
        state: armed_home
    action:
      - service: alarm_control_panel.alarm_trigger
        entity_id: alarm_control_panel.alarm
 
  - alias: 'Send notification when Alarm Triggered'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.alarm
        to: 'triggered'
    action:
      - service: notify.notify
        data:
          message: "ALARM! ALARM! - The Home Alarm has been Activated"

Do I have the API Password setup correctly, getting an error what I load APPDAEMON saying:

2019-01-10 08:40:25.745527 INFO AppDaemon Version 3.0.2 starting
2019-01-10 08:40:25.745742 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2019-01-10 08:40:25.746477 INFO AppDaemon: Starting Apps
2019-01-10 08:40:25.749755 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2019-01-10 08:40:25.777684 INFO AppDaemon: HASS: HASS Plugin Initializing
2019-01-10 08:40:25.778311 INFO AppDaemon: HASS: HASS Plugin initialization complete
2019-01-10 08:40:25.778500 INFO Starting Dashboards
2019-01-10 08:40:25.780870 INFO API is disabled
2019-01-10 08:40:28.888589 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds

Just to make sure, this configuration error has not been resolved.

the second error is here:

############# Konnected Alarm System Times ##############
alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: !secret alarm_code
    trigger_time: 300
    disarmed:
      trigger_time: 0
    armed_home:
      delay_time: 0
      pending_time: 0
    armed_away:
      delay_time: 60
      pending_time: 30
    triggered:
      pending_time: 0 

pending_time under triggered needed to more spaces in front of it.

Pretty much tells you that triggered inside alarm_control_panel.manual has a problem with the triggered section.

Thank you so much @petro been working this for days.