Hello,
I just setup an alarm system using HA.
but I can’t imagine, I need both manual and template.
I actually think I only need template, but for somehow then only state is unknown.
in configuration.yaml I have
alarm_control_panel:
- platform: manual
name: Home Alarm
# code: "1234"
arming_time: 1
delay_time: 1
trigger_time: 4
disarmed:
trigger_time: 1
armed_home:
arming_time: 1
delay_time: 1
- platform: template
panels:
safe_alarm_panel:
value_template: "{{ states('alarm_control_panel.home_alarm') }}"
arm_away:
- condition: state
entity_id: group.users
state: not_home
- service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.home_alarm
arm_home:
service: alarm_control_panel.alarm_arm_home
target:
entity_id: alarm_control_panel.home_alarm
disarm:
- condition: state
entity_id: group.users
state: home
- service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.home_alarm
code_format: no_code
so I can use
type: tile
entity: alarm_control_panel.safe_alarm_panel
in my dashboard
and also in the automation I set and read home_alarm
But I think This should be easier to do and I’m missing something.