mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
notify: showTriggerTime fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5362 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
475e73b1a7
commit
74e94460d8
@ -69,8 +69,8 @@ notify_Exec($$)
|
||||
$found = ("$n:$s" =~ m/^$re$/);
|
||||
}
|
||||
if($found) {
|
||||
$ntfy->{STATE} = $dev->{NTFY_TRIGGERTIME}
|
||||
if(AttrVal($ln, 'showTriggerTime', 0));
|
||||
$ntfy->{STATE} =
|
||||
AttrVal($ln,'showTriggerTime',0) ? $dev->{NTFY_TRIGGERTIME} : 'active';
|
||||
|
||||
Log3 $ln, 5, "Triggering $ln";
|
||||
my (undef, $exec) = split("[ \t]+", $ntfy->{DEF}, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user