diff --git a/packages/notification/notification.yaml b/packages/notification/notification.yaml index ea00999..306e646 100644 --- a/packages/notification/notification.yaml +++ b/packages/notification/notification.yaml @@ -23,17 +23,17 @@ notify: - name: security platform: group services: - - service: mobile_app_jp_pixel3a + - service: mobile_app_jp_iphone data: title: Home Security data: - ttl: 0 - priority: high + push: + interruption-level: time-sensitive - name: general platform: group services: - - service: mobile_app_jp_pixel3a + - service: mobile_app_jp_iphone data: title: Home Assistant @@ -41,4 +41,4 @@ notify: platform: group services: - service: mobile_app_jennifer_s_iphone - - service: mobile_app_jp_pixel3a + - service: mobile_app_jp_iphone diff --git a/packages/security/security.yaml b/packages/security/security.yaml index edac09a..e5a5f77 100644 --- a/packages/security/security.yaml +++ b/packages/security/security.yaml @@ -320,6 +320,9 @@ automation: topic: frigate/events payload: new value_template: "{{ value_json.type }}" + condition: + - condition: template + value_template: "{{ trigger.payload_json.after.has_clip }}" action: service: notify.security data: