Update Security Package
This commit is contained in:
@@ -32,7 +32,9 @@ alarm_control_panel:
|
||||
# Alarm Settings
|
||||
input_boolean:
|
||||
auto_arm_alarm:
|
||||
name: Automatically Arm Alarm
|
||||
name: Automatically Arm Alarm on Presence Change
|
||||
auto_disarm_alarm:
|
||||
name: Automatically Disarm Alarm on Presence Change
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Door and Window Groups
|
||||
@@ -69,7 +71,7 @@ binary_sensor:
|
||||
# -----------------------------------------------------------------------------
|
||||
# Security Automations
|
||||
automation:
|
||||
- alias: Auto-Arm Alarm Away
|
||||
- alias: Auto-Arm Alarm
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.house_presence_state
|
||||
@@ -79,6 +81,22 @@ automation:
|
||||
- service: alarm_control_panel.alarm_arm_away
|
||||
target:
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
code: !secret alarm_code
|
||||
- service: notify.telegram_home
|
||||
data:
|
||||
message: Home Armed
|
||||
|
||||
- alias: Auto-Disarm Alarm
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.house_presence_state
|
||||
to: Away
|
||||
condition: "{{ is_state('input_boolean.auto_disarm_alarm', True) }}"
|
||||
action:
|
||||
- service: alarm_control_panel.alarm_disarm
|
||||
target:
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
code: !secret alarm_code
|
||||
- service: notify.telegram_home
|
||||
data:
|
||||
message: Home Disarmed
|
||||
|
||||
Reference in New Issue
Block a user