@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