daily-psk: add symbol in notification

This commit is contained in:
Christian Hesse 2020-09-18 13:08:29 +02:00
parent 49737af6d1
commit 1367a59c27
4 changed files with 7 additions and 3 deletions

View file

@ -14,6 +14,7 @@
:global LogPrintExit;
:global SendNotification;
:global SymbolForNotification;
:global UrlEncode;
:global WaitForFile;
:global WaitFullyConnected;
@ -87,7 +88,7 @@ $WaitFullyConnected;
:set Attach "";
}
$SendNotification ("daily PSK " . $Ssid) \
$SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \
("This is the daily PSK on " . $Identity . ":\n\n" . \
"SSID: " . $Ssid . "\n" . \
"PSK: " . $NewPsk . "\n" . \