Update Security Package
This commit is contained in:
@@ -28,6 +28,12 @@ alarm_control_panel:
|
|||||||
arming_time: 0
|
arming_time: 0
|
||||||
delay_time: 0
|
delay_time: 0
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Alarm Settings
|
||||||
|
input_boolean:
|
||||||
|
auto_arm_alarm:
|
||||||
|
name: Automatically Arm Alarm
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Door and Window Groups
|
# Door and Window Groups
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
@@ -59,3 +65,20 @@ binary_sensor:
|
|||||||
# - binary_sensor.bathroom_window
|
# - binary_sensor.bathroom_window
|
||||||
# - binary_sensor.bedroom_side_window
|
# - binary_sensor.bedroom_side_window
|
||||||
# - binary_sensor.bedroom_back_window
|
# - binary_sensor.bedroom_back_window
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Security Automations
|
||||||
|
automation:
|
||||||
|
- alias: Auto-Arm Alarm Away
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: input_select.house_presence_state
|
||||||
|
to: Away
|
||||||
|
condition: "{{ is_state('input_boolean.auto_arm_alarm', True) }}"
|
||||||
|
action:
|
||||||
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
|
target:
|
||||||
|
entity_id: alarm_control_panel.ha_alarm
|
||||||
|
- service: notify.telegram_home
|
||||||
|
data:
|
||||||
|
message: Home Armed
|
||||||
|
|||||||
Reference in New Issue
Block a user