From 4fe0c4fed4fb3a0dcbf543127b0563d5e739a250 Mon Sep 17 00:00:00 2001 From: Ellert Date: Fri, 27 Jan 2017 17:15:57 +0000 Subject: [PATCH] 98_DOIFtools.pm: fixed bug from last change git-svn-id: https://svn.fhem.de/fhem/trunk@13251 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/98_DOIFtools.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 3d12e01a1..13b30c6d2 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 98_DOIFtools.pm: fixed bug from last change - update: 98_DOIFtools.pm: some code rework - update: 98_DOIFtools.pm: dynamic column width in report - update: 98_DOIFtools.pm: add delete readings in other devices than DOIF diff --git a/fhem/FHEM/98_DOIFtools.pm b/fhem/FHEM/98_DOIFtools.pm index f295bd200..08bd68c1b 100644 --- a/fhem/FHEM/98_DOIFtools.pm +++ b/fhem/FHEM/98_DOIFtools.pm @@ -586,7 +586,7 @@ sub DOIFtoolsCheckDOIF { ($sub0[$i],@tmp) = SplitDoIf(",",$wait[$i]); $sub0[$i] =~ s/\s// if($sub0[$i]); } - if (defined $defs{$tn}{timeCond}}) { + if (defined $defs{$tn}{timeCond}) { foreach my $key (sort keys %{$defs{$tn}{timeCond}}) { if (defined($defs{$tn}{timeCond}{$key}) and $defs{$tn}{timeCond}{$key} and $sub0[$defs{$tn}{timeCond}{$key}]) { $ret .= "
  • Timer in condition and wait timer for commands in the same DOIF branch.
    If you observe unexpected behaviour, try attribute timerWithWait (delay of Timer)
  • \n";