Files
home-assistant/packages/notification/notification.yaml

77 lines
1.8 KiB
YAML

# Notification Package
# -----------------------------------------------------------------------------
# Main Notification Sinks
notify:
- name: iphone_jp
platform: group
services:
- action: mobile_app_j_p_s_iphone
data:
title: Home Assistant
- name: iphone_jen
platform: group
services:
- action: mobile_app_jennifer_s_iphone_2
data:
title: Home Assistant
- name: ntfy
platform: rest
method: POST_JSON
resource: !secret ntfy_url
authentication: basic
username: !secret ntfy_username
password: !secret ntfy_password
# headers:
# Authorization: !secret ntfy_token
title_param_name: title
message_param_name: message
data:
topic: home_assistant
# `notify.security` used for high-priority security reporting including
# arm/disarm and alarm events. Also used for all camera events and the
# doorbell function.
- name: security
platform: group
services:
- action: iphone_jp
data:
title: Home Security
data:
push:
interruption-level: time-sensitive
- action: iphone_jen
data:
title: Home Security
data:
push:
interruption-level: time-sensitive
# `notify.status` used for simple status reporting (e.g. washer done)
# Keeps these notifications separated from security alerts
- name: status
platform: group
services:
- action: iphone_jp
data:
data:
group: 'status-notification-group'
- action: iphone_jen
data:
data:
group: 'status-notification-group'
- name: general
platform: group
services:
- action: iphone_jp
- name: everyone
platform: group
services:
- action: iphone_jp
- action: iphone_jen