From 5e20ccfef86795adc32cbdb1dcc3061b935d6843 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Mon, 2 Sep 2024 11:28:05 -0700 Subject: [PATCH] feat: Normalize notification sinks --- packages/notification/notification.yaml | 39 +++++++++++-------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/packages/notification/notification.yaml b/packages/notification/notification.yaml index 6e6d6c9..61bb60c 100644 --- a/packages/notification/notification.yaml +++ b/packages/notification/notification.yaml @@ -1,29 +1,26 @@ # Notification Package # ----------------------------------------------------------------------------- -# Notification Platforms -# telegram_bot: -# - platform: broadcast -# api_key: !secret telegram_api_key -# allowed_chat_ids: -# - !secret telegram_chat_id - -# ----------------------------------------------------------------------------- -# Main Notification Sink +# Main Notification Sinks notify: - # - name: telegram_home - # platform: telegram - # chat_id: !secret telegram_chat_id + - name: iphone_jp + platform: group + services: + - action: mobile_app_j_p_s_iphone + data: + title: Home Assistant - # - name: pushover_home - # platform: pushover - # api_key: !secret pushover_api_key - # user_key: !secret pushover_user_key + - name: iphone_jen + platform: group + services: + - action: mobile_app_jennifer_s_iphone_2 + data: + title: Home Assistant - name: security platform: group services: - - service: mobile_app_j_p_s_iphone + - action: iphone_jp data: title: Home Security data: @@ -33,12 +30,10 @@ notify: - name: general platform: group services: - - service: mobile_app_j_p_s_iphone - data: - title: Home Assistant + - action: iphone_jp - name: everyone platform: group services: - - service: mobile_app_jennifer_s_iphone_2 - - service: mobile_app_j_p_s_iphone + - action: iphone_jp + - action: iphone_jen