Skip to content

Commit

Permalink
Create Anpassung Pushover bei nur einer Instanz.js
Browse files Browse the repository at this point in the history
Wenn man nur eine Pushover Instanz hat muss man die Funktion function send_pushover_V4 austauschen. Einfach im org. Script den Scriptteil austauschen
  • Loading branch information
Baenker authored Feb 11, 2019
1 parent 9389437 commit d889145
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Anpassung Pushover bei nur einer Instanz.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function send_pushover_V4 (_device, _message, _titel, _prio) {
var pushover_Instanz = 'pushover.0';
sendTo(pushover_Instanz, {
device: _device,
message: _message,
title: _titel,
priority: _prio,
retry: 60,
expire: 600,
html: 1
});
}

0 comments on commit d889145

Please sign in to comment.