Update alarm notifications
This commit is contained in:
parent
8fa121966f
commit
864fb90794
@ -38,12 +38,29 @@
|
|||||||
entity_id: camera.hallway
|
entity_id: camera.hallway
|
||||||
- service: notify.home_assistant
|
- service: notify.home_assistant
|
||||||
data:
|
data:
|
||||||
title: "ALARM. Pending to disarm"
|
message: >
|
||||||
message: "Motion in hallway - {{ state_attr(trigger.entity_id, 'friendly_name') }}"
|
ALARM. Pending to disarm
|
||||||
|
Motion in hallway - {{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||||
|
@everyone
|
||||||
target: [ "1070507369164984372" ]
|
target: [ "1070507369164984372" ]
|
||||||
data:
|
data:
|
||||||
images:
|
images:
|
||||||
- "/config/www/cctv/hallway.jpg"
|
- "/config/www/cctv/hallway.jpg"
|
||||||
|
- service: camera.record
|
||||||
|
data:
|
||||||
|
duration: 30
|
||||||
|
lookback: 30
|
||||||
|
filename: /config/www/cctv/hallway.mp4
|
||||||
|
target:
|
||||||
|
entity_id: camera.hallway
|
||||||
|
- service: notify.home_assistant
|
||||||
|
data:
|
||||||
|
message: >
|
||||||
|
Motion recording
|
||||||
|
target: [ "1070507369164984372" ]
|
||||||
|
data:
|
||||||
|
images:
|
||||||
|
- "/config/www/cctv/hallway.mp4"
|
||||||
|
|
||||||
- id: alarm-away-living-roomn
|
- id: alarm-away-living-roomn
|
||||||
alias: '[Alarm] Trigger alarm when not at home (Living Room)'
|
alias: '[Alarm] Trigger alarm when not at home (Living Room)'
|
||||||
@ -99,12 +116,29 @@
|
|||||||
entity_id: camera.hallway
|
entity_id: camera.hallway
|
||||||
- service: notify.home_assistant
|
- service: notify.home_assistant
|
||||||
data:
|
data:
|
||||||
title: "ALARM. Pending to disarm"
|
message: >
|
||||||
message: "Motion in hallway - {{ state_attr(trigger.entity_id, 'friendly_name') }}"
|
ALARM. Pending to disarm
|
||||||
|
Motion in Living Room - {{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||||
|
@everyone
|
||||||
target: [ "1070507369164984372" ]
|
target: [ "1070507369164984372" ]
|
||||||
data:
|
data:
|
||||||
images:
|
images:
|
||||||
- "/config/www/cctv/living_room.jpg"
|
- "/config/www/cctv/living_room.jpg"
|
||||||
|
- service: camera.record
|
||||||
|
data:
|
||||||
|
duration: 30
|
||||||
|
lookback: 30
|
||||||
|
filename: /config/www/cctv/living_room.mp4
|
||||||
|
target:
|
||||||
|
entity_id: camera.hallway
|
||||||
|
- service: notify.home_assistant
|
||||||
|
data:
|
||||||
|
message: >
|
||||||
|
Motion recording
|
||||||
|
target: [ "1070507369164984372" ]
|
||||||
|
data:
|
||||||
|
images:
|
||||||
|
- "/config/www/cctv/living_room.mp4"
|
||||||
|
|
||||||
- id: alarm-away-remaining
|
- id: alarm-away-remaining
|
||||||
alias: '[Alarm] Trigger alarm when not at home'
|
alias: '[Alarm] Trigger alarm when not at home'
|
||||||
|
Loading…
Reference in New Issue
Block a user