Updated documentation for msg.html (#774)

This commit is contained in:
JsBergbau 2021-03-18 09:47:36 +01:00 committed by GitHub
parent 61025cc962
commit ef5b577f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,7 @@
<p><code>msg.attachment</code>: attach an image (Buffer or file path)</p>
<p><code>msg.url</code>: to add a web address</p>
<p><code>msg.url_title</code>: to add a url title if not already set in the properties</p>
<p><code>msg.html</code>: set to true or 1 if message is HTML formatted
<p><code>msg.html</code>: set to true or 1 if message is HTML formatted, <i><a href="https://pushover.net/api#html" target="_new">see the supported tags</a></i></p>
<p><code>msg.sound</code>: set the notification sound, <i><a href="https://pushover.net/api#sounds" target="_new">see the available options</a></i></p>
<p>Uses Pushover. See <i><a href="https://pushover.net" target="_new">this link</a></i> for more details.</p>
</script>

View File

@ -24,6 +24,7 @@ Optionally uses `msg.topic` to set the configuration, if not already set in the
- `msg.attachment`: to specify an image to attach to message (path as a string or Buffer containing image)
- `msg.url`: to add a web address
- `msg.url_title`: to add a url title
- `msg.html`: set to true or 1 if message is HTML formatted, see the [supported tags](https://pushover.net/api#html)
- `msg.sound`: to set the alert sound, see the [available options](https://pushover.net/api#sounds)
The User-key and API-token are stored in a separate credentials file.

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-pushover",
"version" : "0.0.22",
"version" : "0.0.23",
"description" : "A Node-RED node to send alerts via Pushover",
"dependencies" : {
"pushover-notifications" : "^1.2.2"