Switch won't trigger the Alarm (Alarm_control_panel)

Hello!

I’m having an issue where my manual alarm doesn’t get triggered.

I can arm the alarm successfully, but when one of my configured switches gets the state ‘on’, the alarm doesn’t get triggered.

Below is my configuration, i’m hoping someone here knows that might be wrong.

Thank you in advanced! :slight_smile:

ui-lovelace.yaml

https://pastebin.com/f2rbEqYx

alarm.yaml

https://pastebin.com/fFkqfy39

automations.yaml

https://pastebin.com/VF0gJv9X

EDIT:

I can add that in ui-lovelace.yaml i have to use alarm_control_panel.alarm, else it doesn’t show up at all. And i the manual it says that you need to use alarm_control_panel.ha_alarm for the automations… so that’s why i’m a bit confused…

You have a combination of entity_id: alarm_control_panel.ha_alarm and entity_id: alarm_control_panel.alarm in your code…

Thanks for your answer!

Yeah, that’s what i probably have misunderstood. What should i use?

I can add that in ui-lovelace.yaml i have to use alarm_control_panel.alarm, else it doesn’t show up at all. And i the manual it says that you need to use alarm_control_panel.ha_alarm for the automations… so that’s why i’m a bit confused…

You defined your alarm name as alarm, therfore you need to use alarm_control_panel.alarm everywhere

1 Like

Thanks! You’re correct, this solved my problem.