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@5362 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
291bc21d29
commit
d2b76d8fe2
@ -69,8 +69,8 @@ notify_Exec($$)
|
|||||||
$found = ("$n:$s" =~ m/^$re$/);
|
$found = ("$n:$s" =~ m/^$re$/);
|
||||||
}
|
}
|
||||||
if($found) {
|
if($found) {
|
||||||
$ntfy->{STATE} = $dev->{NTFY_TRIGGERTIME}
|
$ntfy->{STATE} =
|
||||||
if(AttrVal($ln, 'showTriggerTime', 0));
|
AttrVal($ln,'showTriggerTime',0) ? $dev->{NTFY_TRIGGERTIME} : 'active';
|
||||||
|
|
||||||
Log3 $ln, 5, "Triggering $ln";
|
Log3 $ln, 5, "Triggering $ln";
|
||||||
my (undef, $exec) = split("[ \t]+", $ntfy->{DEF}, 2);
|
my (undef, $exec) = split("[ \t]+", $ntfy->{DEF}, 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user