Configuration 2

Here is how you format the code correctly:

you need to remove the line “cfg_alarm: !include /config/alarm_panel/cfg_alarm.yaml” from the "homeassistant: " (at line 16).

Then you need to put “alarm: !include cfg_alarm.yaml” in somewhere around line 70

Then make sure your “cfg_alarm.yaml” file is in the base config directory. This is the same location as your “automations.yaml” and “scripts.yaml” is located. I’m assuming those actually exist in your config directory since you already have them in your configuration.yaml file as !includes.

your basic configuration.yaml file should look something like this. See the last line for your include statement:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 43.013969 
  longitude: -77.404350
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 719
  # 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
  customize: !include customization.yaml
    
# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

# 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:

recorder:

# Enables support for tracking state changes over time.
history:
     
# View all events in a logbook
logbook:
      
    
# Disable WARNINGS in log for Cameras. Refer here: https://home-assistant.io/components/logger/
logger:

map:

# Track the sun (original component)
sun:

sensor:
  - platform: yr

# Text to speech
tts:
  platform: google

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
alarm: cfg_alarm.yaml

I am also assuming that “alarm:” is a proper home assistant component. If the component doesn’t exist you will still get errors that will say “component not found”.

You were correct the “alarm” is not a proper component. What is there a list of proper components HA uses.

I think your

alarm: !include alarm.yaml

in the orginal post was correct. Only you applied the suggestion of renaming cfg_alarm.yaml not correctly.

it should be
alarm: !include cfg_alarm.yaml

all HA Alarm components are listed here

So it appears as if you are trying to use a package as @anon43302295 said. Your cfg_alarm has the configuration for konnect, a configuration for alarm_control_panel, and an automation. The only way you can keep this all in one file is if you move to a package.

So to clarify, to fix your problem:

remove line 16 from configuration.yaml

  cfg_alarm: !include /config/Alarm_Panel/cfg_alarm.yaml

and add this at the root level (outside the homeassistant section).

packages:
  cfg_alarm: !include Alarm_Panel/cfg_alarm.yaml

Add the automation: section at line 109 inside cfg_alarm.yaml.

automation: