Update Security Package
This commit is contained in:
@@ -32,7 +32,9 @@ alarm_control_panel:
|
|||||||
# Alarm Settings
|
# Alarm Settings
|
||||||
input_boolean:
|
input_boolean:
|
||||||
auto_arm_alarm:
|
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
|
# Door and Window Groups
|
||||||
@@ -69,7 +71,7 @@ binary_sensor:
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Security Automations
|
# Security Automations
|
||||||
automation:
|
automation:
|
||||||
- alias: Auto-Arm Alarm Away
|
- alias: Auto-Arm Alarm
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_select.house_presence_state
|
entity_id: input_select.house_presence_state
|
||||||
@@ -79,6 +81,22 @@ automation:
|
|||||||
- service: alarm_control_panel.alarm_arm_away
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
target:
|
target:
|
||||||
entity_id: alarm_control_panel.ha_alarm
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
|
code: !secret alarm_code
|
||||||
- service: notify.telegram_home
|
- service: notify.telegram_home
|
||||||
data:
|
data:
|
||||||
message: Home Armed
|
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