Files
Home-Assistant/automations/03_presence_and_security.yaml
T
2026-06-28 14:27:20 -04:00

108 lines
2.8 KiB
YAML

# Presence and camera/security automations.
- id: '1742155298923'
alias: Disarm cameras when Joshua comes home
description: ''
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: enter
conditions: []
actions:
- action: camera.disable_motion_detection
metadata: {}
data: {}
target:
device_id:
- 3df00a0796efe006e4ea349a9752faba
- 0c13483d761efe3b85e534fadd323fe3
- 5aa158596e48441ea606dd881a34402d
- d045a0a68c3c4d52a7beb2a28fdf6993
- 044c43ea05ceff58b1209f6441c24183
mode: single
- id: '1742155338014'
alias: Disable Cameras when Polly comes home
description: ''
triggers:
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: enter
conditions: []
actions:
- action: camera.disable_motion_detection
metadata: {}
data: {}
target:
device_id:
- 3df00a0796efe006e4ea349a9752faba
- 0c13483d761efe3b85e534fadd323fe3
- 5aa158596e48441ea606dd881a34402d
- d045a0a68c3c4d52a7beb2a28fdf6993
- 044c43ea05ceff58b1209f6441c24183
mode: single
- id: '1754414591718'
alias: Arm Inside Blink Cameras When Everyone Leaves
description: Arm Blink 'Inside' camera group when both Joshua and Polly are not
home
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: leave
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: leave
conditions:
- condition: device
device_id: eabafa43fa1148e4facc8e5a4151958d
domain: device_tracker
entity_id: 74ded93c7bee3648dccc7f024095b7c6
type: is_not_home
- condition: device
device_id: 638383852928fbd17397baa190c2d853
domain: device_tracker
entity_id: 0f494c69f886f56391b07f0517b0c0f3
type: is_not_home
actions:
- target:
entity_id: alarm_control_panel.blink_inside
action: alarm_control_panel.alarm_arm_away
mode: single
- id: '1758196295864'
alias: Disarm Blink when family is home
description: Arm Blink 'Inside' camera group when both Joshua and Polly are not
home
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: enter
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: enter
conditions:
- condition: device
device_id: eabafa43fa1148e4facc8e5a4151958d
domain: device_tracker
entity_id: 74ded93c7bee3648dccc7f024095b7c6
type: is_home
- condition: device
device_id: 638383852928fbd17397baa190c2d853
domain: device_tracker
entity_id: 0f494c69f886f56391b07f0517b0c0f3
type: is_home
actions:
- action: alarm_control_panel.alarm_disarm
target:
entity_id:
- alarm_control_panel.blink_inside
data: {}
mode: single