From d68555da597d3b7046466b86bf9c709279ee81b1 Mon Sep 17 00:00:00 2001 From: Matthew Foran <46829130+mjforan@users.noreply.github.com> Date: Mon, 11 Sep 2023 02:29:18 -0400 Subject: [PATCH] Update Apprise example to include name (#28580) * Update Apprise example to include name * clarify that name is user-defined --------- Co-authored-by: Matthew Foran --- source/_integrations/apprise.markdown | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/source/_integrations/apprise.markdown b/source/_integrations/apprise.markdown index 1e452ee7ecb..dcfce134999 100644 --- a/source/_integrations/apprise.markdown +++ b/source/_integrations/apprise.markdown @@ -22,7 +22,8 @@ To use Apprise supported notifications, add the following to your `configuration ```yaml # Example configuration.yaml entry using URLs notify: - - platform: apprise + - name: NOTIFIER_NAME + platform: apprise url: YOUR_APPRISE_URLS ``` @@ -32,7 +33,8 @@ You can also pre-define your own configuration files while storing them either r # Example configuration.yaml entry using externally located Apprise # Configuration Files/Sites: notify: - - platform: apprise + - name: NOTIFIER_NAME + platform: apprise config: YOUR_APPRISE_CONFIG_URLS ``` @@ -41,7 +43,8 @@ There is no restriction on the number of URLs or Apprise Configuration locations ```yaml # Example configuration.yaml entry using all options notify: - - platform: apprise + - name: NOTIFIER_NAME + platform: apprise config: YOUR_APPRISE_CONFIG_URLS url: YOUR_APPRISE_URLS ``` @@ -65,7 +68,7 @@ config: ## Example service call ```yaml -- service: notify.apprise +- service: notify.NOTIFIER_NAME data: message: "A message from Home Assistant" ``` @@ -73,7 +76,7 @@ config: If you're using configuration files to store your Apprise URLs in, then you have the added bonus of associating tags with them. By default, Apprise in Home Assistant will only notify the elements that have no tags associated with them. You can optionally focus on only notifying a specific service based on the tag(s) you assigned them like so: ```yaml -- service: notify.apprise +- service: notify.NOTIFIER_NAME data: message: "A message from Home Assistant" target: [