Update Frigate Notifications

This commit is contained in:
2022-10-10 17:33:23 -07:00
parent 46019507ec
commit a177a85a10
2 changed files with 8 additions and 5 deletions

View File

@@ -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

View File

@@ -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: