diff --git a/fhem/FHEM/70_Pushover.pm b/fhem/FHEM/70_Pushover.pm index e73167687..b6df3ad0d 100644 --- a/fhem/FHEM/70_Pushover.pm +++ b/fhem/FHEM/70_Pushover.pm @@ -19,7 +19,7 @@ sub Pushover_Initialize($$) { $hash->{SetFn} = "Pushover_Set"; $hash->{AttrList} = -"disable:0,1 disabledForIntervals do_not_notify:0,1 timestamp:0,1 title sound:pushover,bike,bugle,cashregister,classical,cosmic,falling,gamelan,incoming,intermission,magic,mechanical,pianobar,siren,spacealarm,tugboat,alien,climb,persistent,echo,updown,none device priority:0,1,2,-1,-2 callbackUrl retry expire " +"disable:0,1 disabledForIntervals do_not_notify:0,1 timestamp:0,1 title sound:pushover,bike,bugle,cashregister,classical,cosmic,falling,gamelan,incoming,intermission,magic,mechanical,pianobar,siren,spacealarm,tugboat,alien,climb,persistent,echo,updown,none device priority:0,1,2,-1,-2 callbackUrl retry expire storagePath " . $readingFnAttributes; #$hash->{parseParams} = 1; # not possible due to legacy msg command schema @@ -1282,7 +1282,7 @@ sub Pushover_SetMessage2 ($$$$) { if ( defined( $values{attachment} ) ) { my $path = - AttrVal( $name, "storage", AttrVal( "global", "modpath", "." ) ); + AttrVal( $name, "storagePath", AttrVal( "global", "modpath", "." ) ); $path .= "/" unless ( $path =~ /\/$/ ); $values{attachment} = "file://" @@ -1524,7 +1524,7 @@ sub Pushover_HttpUri ($$;$) { cancel_id  - type: text - Custom ID to immediate expire messages with priority >=2 and disable reoccuring notification.
timestamp  - type: integer - A Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by the Pushover servers. Takes precendence over attribute timestamp=1.
sound      - type: text - The name of one of the sounds supported by device clients to override the user's default sound choice.
- attachment      - type: text - Path to an image file that should be attached to the message. The base path is relative to the FHEM directory and may be overwritten using the storage attribute.
+ attachment      - type: text - Path to an image file that should be attached to the message. The base path is relative to the FHEM directory and may be overwritten using the storagePath attribute.

Examples: @@ -1712,7 +1712,7 @@ sub Pushover_HttpUri ($$;$) { cancel_id  - Typ: Text - Benutzerdefinierte ID, um Nachrichten mit einer Priorität >= 2 sofort ablaufen zu lassen und die wiederholte Benachrichtigung auszuschalten.
timestamp  - Typ: Integer - Ein Unix Zeitstempfel mit Datum und Uhrzeit deiner Nachricht, die dem Empfänger statt der Uhrzeit des Einganges auf den Pushover Servern angezeigt wird. Hat Vorrang bei gesetztem Attribut timestamp=1.
sound      - Typ: Text - Der Name eines vom Empfängergerät unterstützten Klangs, um den vom Empfänger ausgewählten Klang zu überschreiben.
- attachment      - Typ: Text - Pfad zu einer Bilddatei, welche an die Nachricht angehängt werden soll. Der Basispfad ist relativ zum FHEM Verzeichnis und kann über das storage Attribut überschrieben werden.
+ attachment      - Typ: Text - Pfad zu einer Bilddatei, welche an die Nachricht angehängt werden soll. Der Basispfad ist relativ zum FHEM Verzeichnis und kann über das storagePath Attribut überschrieben werden.

Beispiele: