If you like me were trying to figure out how to configure an alarm_control_panel to work with an interface kit so you can have a card in a dashboard, I found that using a template alarm_control_panel works better than a manual one. Since you basically just need it to react to input (arming/disarming) and show you the correct status, the manual panel has too much logic with timeouts and everything. Here’s what I came up with to provide triggered and armed/disarmed status and also tie the buttons to the momentary switches used to arm/disarm the Vista panel. Your entities may have different names based on what you called them when configuring the Konnected integration in HA.
alarm_control_panel:
- platform: template
panels:
app_alarm_panel:
code_format: no_code
value_template: >
{% if is_state('binary_sensor.alarm_triggered', 'on') %}
triggered
{% elif is_state('binary_sensor.armed_status', 'off') %}
armed_away
{% else %}
disarmed
{% endif %}
arm_away:
service: switch.turn_on
target:
entity_id: switch.arm_away
arm_home:
service: switch.turn_on
target:
entity_id: switch.arm_stay
disarm:
service: switch.turn_on
target:
entity_id: switch.disarm
2 Likes
@Dustin_Forster not sure if you’ll. See this but I thought I’d try. Your template code for the interface boards were super helpful, thank you!
There is one thing I’m confused on - I’m trying to toggle the disarm but I’m not sure how to do that. Does it require another zone to be set specifically for disarm? Or is there a way to toggle the specific zone that was previously set (I.e. arm away or arm stay) so that the toggle affects the alarm correclty?
Thanks in advance!