Made it work. Didn’t even have to use the Markdown-mod even though its pretty cool.
I just made a conditional button with the text - Wrong Code Entered, please try again.
Only visible when an wrong error is entered and resets to its hidden place when pressed.
Any good suggestions on how to catch the ARM HOME and ARM AWAY button click and have them fire an automation?
My problem is that if a monitored sensor is left in the open state, the alarm won’t arm, but I won’t get a notification about what the problem is in lovelace and the state of the panel won’t change either since the alarm never arms. The physical alarm panel however will start beeping.
If I could trigger an automation by the button press, I can check if all required sensors are closed and if not throw an error.
I’m using the bwalarm custom component. I has a panel for easy sensor inclusion editing, mqtt, pending and delay times adjustment and much, much more. Can be installed with HACs.
A trigger like this catches the warning state for bwalarm. Not sure if it works with the standard manual alarm.
- id: alarm_warning
alias: '[Alarm] Warning'
initial_state: true
trigger:
platform: state
entity_id: alarm_control_panel.house
to: warning
action:
In my case I use the Concord232 Alarm Panel. There is no warning state.
The only way I would catch the problem is by catching the actual button press on the Lovelace Control Panel.
The component itself just sends an arm command to the Concord232 Server. The Lovelace Alarm panel will first change to arm when the regular update of the component tells it that the status has changed to arm.
The custom component is an improved replacement for the built in manual alarm panel. If your alarm works with the built in alarm panel it will work with bwalarm.
It looks identical in Lovelace but has an added side panel.
Mybe I’m missing something, but that seems more like a Manual Alarm Panel where HA is in charge of monitoring Sensors. Concord232 integrates with Concord Alarm System. Don’t see how it can be a replacement for the Concord232 alarm panel.
If I had a way to detect when the button is clicked I could make an automation that checked it the required door were closed and if not create an alert within HA as to which doors/windows were still open.