parent
761c8b639d
commit
0fd9b594b6
@ -254,7 +254,7 @@ sub NTFY_Publish_Msg
|
|||||||
|
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdateIfChanged($hash, "nrPublishedMessages", $nrPublishedMessages);
|
readingsBulkUpdateIfChanged($hash, "nrPublishedMessages", $nrPublishedMessages);
|
||||||
readingsBulkUpdateIfChanged($hash, "lastUsedTopic", $msg->{topic});
|
readingsBulkUpdateIfChanged($hash, "lastUsedTopic", join(",", @{$msg->{topics}}));
|
||||||
readingsBulkUpdateIfChanged($hash, "lastMessageSend", $msg->{text});
|
readingsBulkUpdateIfChanged($hash, "lastMessageSend", $msg->{text});
|
||||||
readingsBulkUpdateIfChanged($hash, "lastRawMessage", to_json($message));
|
readingsBulkUpdateIfChanged($hash, "lastRawMessage", to_json($message));
|
||||||
readingsBulkUpdateIfChanged($hash, "lastEror", "");
|
readingsBulkUpdateIfChanged($hash, "lastEror", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user