91_notify.pm: add triggeredBy* timestamp if called from readLog (Forum #136990)

git-svn-id: https://svn.fhem.de/fhem/trunk@28480 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2024-02-05 19:42:10 +00:00
parent d748d0f1b5
commit edd1d97a93

View File

@@ -148,6 +148,7 @@ notify_Attr(@)
my ($me, $msg) = @_;
return if(defined($hash->{CHANGED}));
$hash->{CHANGED}[0] = $msg;
$hash->{NTFY_TRIGGERTIME} = TimeNow();
notify_Exec($hash, $hash);
delete($hash->{CHANGED});
}