SOLVED - Alarm Control Panel not displayed ( UI error Entity not available )

Hi ,

I would like to build an alarm panel so I started by this documentation https://www.home-assistant.io/integrations/manual/

  1. The following configuration example is not working in 0.112 version as per the check Home Assistant configuration ( HassOS 4.11)
# Example configuration.yaml entry
alarm_control_panel:
  - platform: manual
    name: House Alarm
    code: '1234'
    arming_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 0

UI Configuration of Alarm Panel

type: alarm-panel
states:
  - arm_home
  - arm_away
entity: alarm_control_panel.house_alarm

UI Error message following the integration of Alarm Panel card

Entity not available: alarm_control_panel.house_alarm

Check Home Assistant Configuration errrors messages :

[18:56:47] ERROR: The configuration check did not pass!
[18:56:47] ERROR: See the output below for more details.
Testing configuration at /tmp/config
Failed config
  General Errors: 
    - Component error: alarm - Integration 'alarm' not found.
  
  1. There is nothing to configure from the UI ( Configuration / integration menu)

An alarm panel has not been added in the Home assistant UI

  1. Is it a known problem in 0.112 Version ?

Thank you for the guidance

Same with the update 0.113

I assume your entity is actually called alarm_control_panel.house_alarm and not alarm_control_panel.house.alarm.

Have you checked your entities list in Configuration -> Entities. ?

This leads me to believe you have the below defined in your configuration.yaml

alarm:
  # possibly some config here

Thank you @MatthewFlamm for your answers.

  1. Concerning the entity , yes it is actually called alarm_control_panel.house_alarm and not alarm_control_panel.house.alarm .
    I did many tests and was confused when created the 1st post
    ==>> 1st post corrected

There is no alarm entity in configuration/Entities menu !

  1. Concerning the Component error: alarm - Integration 'alarm' not found , in the configuration.yaml file there is no “alarm:” but an include file called alarm.yaml

I have tested some other integrations and i got the same problem so it cant be a general problem in HA as nobody confirmed , so I do not know what i am missing for the configuration !

Can you share this config? I suspect this is the issue.

Sure ,

  • config/configuration.yaml
alarm: !include alarm.yaml

  • config/alarm.yaml
# Alarm System
# Alarm Panel
alarm_control_panel:
  - platform: manual
    name: House Alarm
    code: '1234'
    arming_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 0

You need to use:

alarm_control_panel : !include alarm.yaml

Then get rid of the alarm_control_panel line inside the file and adjust the indentation accordingly.

1 Like

Thank you very much for the solution to my wrong understanding of the splitting up of the configuration .

It works now as expected … and I can play with this promising HA app.
:smile:

I