mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 14:46:24 +00:00
notify: fixing last change (was always executed)
git-svn-id: https://svn.fhem.de/fhem/trunk@5419 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e8f5dabdbd
commit
120f54c4ce
@ -84,10 +84,10 @@ notify_Exec($$)
|
|||||||
my $r = AnalyzeCommandChain(undef, $exec);
|
my $r = AnalyzeCommandChain(undef, $exec);
|
||||||
Log3 $ln, 3, "$ln return value: $r" if($r);
|
Log3 $ln, 3, "$ln return value: $r" if($r);
|
||||||
$ret .= " $r" if($r);
|
$ret .= " $r" if($r);
|
||||||
|
$ntfy->{STATE} =
|
||||||
|
AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$ntfy->{STATE} =
|
|
||||||
AttrVal($ln,'showTriggerTime',1) ? $dev->{NTFY_TRIGGERTIME} : 'active';
|
|
||||||
|
|
||||||
return $ret if(AttrVal($ln, "forwardReturnValue", 0));
|
return $ret if(AttrVal($ln, "forwardReturnValue", 0));
|
||||||
return undef;
|
return undef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user