Update Frigate Notifications
This commit is contained in:
@@ -23,17 +23,17 @@ notify:
|
|||||||
- name: security
|
- name: security
|
||||||
platform: group
|
platform: group
|
||||||
services:
|
services:
|
||||||
- service: mobile_app_jp_pixel3a
|
- service: mobile_app_jp_iphone
|
||||||
data:
|
data:
|
||||||
title: Home Security
|
title: Home Security
|
||||||
data:
|
data:
|
||||||
ttl: 0
|
push:
|
||||||
priority: high
|
interruption-level: time-sensitive
|
||||||
|
|
||||||
- name: general
|
- name: general
|
||||||
platform: group
|
platform: group
|
||||||
services:
|
services:
|
||||||
- service: mobile_app_jp_pixel3a
|
- service: mobile_app_jp_iphone
|
||||||
data:
|
data:
|
||||||
title: Home Assistant
|
title: Home Assistant
|
||||||
|
|
||||||
@@ -41,4 +41,4 @@ notify:
|
|||||||
platform: group
|
platform: group
|
||||||
services:
|
services:
|
||||||
- service: mobile_app_jennifer_s_iphone
|
- service: mobile_app_jennifer_s_iphone
|
||||||
- service: mobile_app_jp_pixel3a
|
- service: mobile_app_jp_iphone
|
||||||
|
|||||||
@@ -320,6 +320,9 @@ automation:
|
|||||||
topic: frigate/events
|
topic: frigate/events
|
||||||
payload: new
|
payload: new
|
||||||
value_template: "{{ value_json.type }}"
|
value_template: "{{ value_json.type }}"
|
||||||
|
condition:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ trigger.payload_json.after.has_clip }}"
|
||||||
action:
|
action:
|
||||||
service: notify.security
|
service: notify.security
|
||||||
data:
|
data:
|
||||||
|
|||||||
Reference in New Issue
Block a user