Update docs/notification_channel_examples.md

This commit is contained in:
Undercut0150 2024-03-10 09:26:48 +00:00 committed by S1m
parent 20e4ef3114
commit 1d0b8df91b
1 changed files with 4 additions and 2 deletions

View File

@ -35,7 +35,8 @@ How it should look:
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` 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. With your favorite text editor, create and open `cmd.sh`, then paste this text. \
Remember to replace the placeholders with the Notification channel endpoint you get by longpressing.
``` ```
@ -70,7 +71,8 @@ Now when DIUN runs you should get a notification that looks like this:
## Home Assistant ## 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 With your favorite text editor, open your HA `configuration.yaml` and add the following text to the bottom of the file \
Remember to replace the placeholders with the Notification channel endpoint you get by longpressing.
``` ```
rest_command: rest_command: