mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 16:05:19 +00:00
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:
parent
330d7bf5e9
commit
e0b25713db
@ -148,6 +148,7 @@ notify_Attr(@)
|
|||||||
my ($me, $msg) = @_;
|
my ($me, $msg) = @_;
|
||||||
return if(defined($hash->{CHANGED}));
|
return if(defined($hash->{CHANGED}));
|
||||||
$hash->{CHANGED}[0] = $msg;
|
$hash->{CHANGED}[0] = $msg;
|
||||||
|
$hash->{NTFY_TRIGGERTIME} = TimeNow();
|
||||||
notify_Exec($hash, $hash);
|
notify_Exec($hash, $hash);
|
||||||
delete($hash->{CHANGED});
|
delete($hash->{CHANGED});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user