From 52839b0a431cb64b36cc72d5b8a961c822fc4023 Mon Sep 17 00:00:00 2001 From: Undercut0150 Date: Sun, 10 Mar 2024 09:20:07 +0000 Subject: [PATCH] Update docs/notification_channel_examples.md --- docs/notification_channel_examples.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/notification_channel_examples.md b/docs/notification_channel_examples.md index 851ff27..4e4e4d0 100644 --- a/docs/notification_channel_examples.md +++ b/docs/notification_channel_examples.md @@ -1,10 +1,10 @@ # Notification Channel Examples -Here are some examples on how to set up Notification channels for some services. .\ +Here are some examples on how to set up Notification channels for some services. \ These are only examples so feel free to edit them and play with them to your hearts content. ## Testing -If you'd like to test your Notification channel, simply open a terminal and run this command. .\ +If you'd like to test your Notification channel, simply open a terminal and run this command. \ Remember to replace the placeholders with the Notification channel endpoint you get by longpressing. `curl {Replace_with_Notification_channel_endpoint} -d "Hello world! This is a test."` @@ -15,7 +15,7 @@ How it should look: ## SSH & Local Logins -With your favorite text editor, open `/etc/profile` as root and add the following text to the very bottom of the file. .\ +With your favorite text editor, open `/etc/profile` as root and add the following text to the very bottom of the file. \ Remember to replace the placeholders with the Notification channel endpoint you get by longpressing. ``` @@ -32,7 +32,7 @@ How it should look: ## DIUN -To get notified with DIUN, you will need to create a file and mount that file to your diun docker container. .\ +To get notified with DIUN, you will need to create a file and mount that file to your diun docker container. \ This example creates a file named `cmd.sh`, and mounts it at `/etc/diun/etc.sh` With your favorite text editor, create and open `cmd.sh`, then paste this text. @@ -69,8 +69,7 @@ Now when DIUN runs you should get a notification that looks like this: ## Home Assistant -To get Notifications from Home Assistant, we will be using the RESTful Notifications service built into Home Assistant. - +To get Notifications from Home Assistant, we will be using the RESTful Notifications service built into Home Assistant.\ With your favorite text editor, open your HA `configuration.yaml` and add the following text to the bottom of the file ```