Hi,
I am transitionning away from IFTTT and am trying to replicate what i have today a control panel with a pin code. But with the template platforms it seems impossible. What would be the easiest way to do it? The manual control panel seems overkill for my needs.
Here is what i have:
alarm_control_panel:
- platform: ifttt
name: alarm
code: !secret alarm_code
event_arm_away: armed_away
event_arm_night: armed_night
event_disarm: disarmed
- platform: template
panels:
alarm2:
name: alarm2
code_arm_required: true
value_template: "{{ states('alarm_control_panel.home') }}"
arm_night:
service: alarm_control_panel.alarm_arm_night
target:
entity_id: alarm_control_panel.home
arm_away:
service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.home
disarm:
service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.home