Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95399

Template Alarm Control Panel

$
0
0

@Kanishkaz wrote:

Hi,

I setup a Template Alarm Control Panel using some switches I have setup to control my home alarm.

Config:

alarm_control_panel:
  - platform: template
    panels:
      home_alarm_panel:
        value_template: "{{ states('sensor.alarm_status') }}"
        arm_away:
          service: switch.toggle
          data:
            entity_id: switch.alarm_arm_away
        arm_home:
          service: switch.toggle
          data:
            entity_id: switch.alarm_arm_stay
        disarm:
          - service: switch.toggle
            data:
              entity_id: switch.alarm_disarm

I now have this in my lovelace front end using the Lovelace Alarm Panel card.

My questions is, how can I configure a code for the template alarm panel? It seems the Templace alarm panel doesn’t have an option to define one.

Cheers.

Posts: 8

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95399

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>