From e9fbc61eacff1abb02900c6dcf782aa54f94ded5 Mon Sep 17 00:00:00 2001 From: kreegahbundolo Date: Wed, 31 Jul 2019 10:45:11 +0200 Subject: [PATCH] Added pushover image attachment functionality (#9702) Added documentation for a new feature enabling image attachments to be sent in pushover notifications. --- source/_components/pushover.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/pushover.markdown b/source/_components/pushover.markdown index 781ac32babd..92a764c2142 100644 --- a/source/_components/pushover.markdown +++ b/source/_components/pushover.markdown @@ -53,10 +53,13 @@ Example Automation: url: "https://www.home-assistant.io/" sound: pianobar priority: 0 + attachment: "http://example.com/image.png" ``` Component specific values in the nested `data` section are optional. +Image attachments can be added using the `attachment` parameter, which can either be a valid URL for an image (ex: `http://example.com/image.png`) or a local file reference (ex: `/tmp/image.png`). + To use notifications, please see the [getting started with automation page](/getting-started/automation/). When sending a notification, optional parameters can also be set as per the pushover [API documentation](https://pushover.net/api). @@ -80,6 +83,7 @@ alexa: sound: falling device: pixel url: "https://www.home-assistant.io/" + attachment: "/tmp/image.png" ``` {% endraw %}