From 01c943f94c6cba5309bb678e44307ab18d17fa04 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Fri, 6 May 2022 11:14:06 -0700 Subject: [PATCH] Add Notification Package --- packages/notification/README.md | 3 +++ packages/notification/notification.yaml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 packages/notification/README.md create mode 100644 packages/notification/notification.yaml diff --git a/packages/notification/README.md b/packages/notification/README.md new file mode 100644 index 0000000..77e5852 --- /dev/null +++ b/packages/notification/README.md @@ -0,0 +1,3 @@ +# Notification Package + +This package contains configuration information for notifications. diff --git a/packages/notification/notification.yaml b/packages/notification/notification.yaml new file mode 100644 index 0000000..bfadf9f --- /dev/null +++ b/packages/notification/notification.yaml @@ -0,0 +1,16 @@ +# Notification Package + +# ----------------------------------------------------------------------------- +# Notification Platforms +telegram_bot: + - platform: broadcast + api_key: !secret telegram_api_key + allowed_chat_ids: + - !secret telegram_chat_id + +# ----------------------------------------------------------------------------- +# Main Notification Sink +notify: + - name: telegram_home + platform: telegram + chat_id: !secret telegram_chat_id