Add information about trigger for alarms
This commit is contained in:
parent
77c86d5ad7
commit
da16f87844
@ -25,7 +25,9 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Alarm in hallway
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.hallway
|
||||
url:
|
||||
@ -69,7 +71,9 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Alarm in Living Room !
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.living_room
|
||||
url:
|
||||
@ -101,7 +105,9 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Alarm triggered
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
url:
|
||||
_: "/lovelace-tablet/cctv"
|
||||
@ -134,6 +140,14 @@
|
||||
action:
|
||||
- service: alarm_control_panel.alarm_trigger
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
url:
|
||||
_: "/lovelace-tablet/cctv"
|
||||
|
||||
- id: alarm-arm-away
|
||||
alias: '[Alarm] Arm away'
|
||||
@ -153,11 +167,6 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
to: 'pending'
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: "ALARM! Pending for disarm"
|
||||
data:
|
||||
importance: max
|
||||
- service: zwave_js.set_config_parameter
|
||||
data:
|
||||
parameter: '7'
|
||||
|
Loading…
Reference in New Issue
Block a user