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

@ -15,6 +15,7 @@
:global LogPrintExit;
:global SendNotification;
:global SymbolForNotification;
:global UrlEncode;
:global WaitForFile;
:global WaitFullyConnected;
@ -93,7 +94,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" . \