Update Security Package
This commit is contained in:
@@ -42,6 +42,8 @@ input_boolean:
|
||||
name: Automatically Arm Alarm on Presence Change
|
||||
auto_disarm_alarm:
|
||||
name: Automatically Disarm Alarm on Presence Change
|
||||
disable_camera_events:
|
||||
name: Disable Camera Events
|
||||
|
||||
binary_sensor:
|
||||
|
||||
@@ -302,6 +304,36 @@ automation:
|
||||
target:
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
|
||||
- alias: Pause Camera Event Detection
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_binary.disable_camera_events
|
||||
to: 'on'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/backyard/detect/set
|
||||
payload: 'OFF'
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/doorbell/detect/set
|
||||
payload: 'OFF'
|
||||
|
||||
- alias: Resume Camera Event Detection
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_binary.disable_camera_events
|
||||
to: 'off'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/backyard/detect/set
|
||||
payload: 'ON'
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/doorbell/detect/set
|
||||
payload: 'ON'
|
||||
|
||||
- alias: Pause Doorbell Event Detection on Arrival or Departure
|
||||
trigger:
|
||||
- platform: state
|
||||
@@ -314,10 +346,9 @@ automation:
|
||||
entity_id: binary_sensor.front_door
|
||||
to: 'on'
|
||||
condition:
|
||||
# TODO: Fix Entity ID Here
|
||||
condition: state
|
||||
entity_id: switch.detect_2
|
||||
state: 'on'
|
||||
entity_id: input_binary.disable_camera_events
|
||||
state: 'off'
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
@@ -352,6 +383,10 @@ automation:
|
||||
- platform: state
|
||||
entity_id: alarm_control_panel.ha_alarm
|
||||
not_to: disarmed
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: input_binary.disable_camera_events
|
||||
state: 'off'
|
||||
action:
|
||||
- delay: 60
|
||||
- service: mqtt.publish
|
||||
|
||||
Reference in New Issue
Block a user