notify: showTriggerTime fixes
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5362 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user