PROPLANTA: Bugfix bei Vorschau <14 Tage

git-svn-id: https://svn.fhem.de/fhem/trunk@8147 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch 2015-03-03 19:29:40 +00:00
parent 495784ede0
commit 2632fc16cb

View File

@ -650,9 +650,7 @@ sub PROPLANTA_Done($)
{ {
if ($fcDays < 14 && $rName =~ /^fc(\d+)_/) if ($fcDays < 14 && $rName =~ /^fc(\d+)_/)
{ {
my $rFcDay = $rName; next unless $1 < $fcDays;
$rFcDay =~ s/^fc(\d+)_/$1/;
next unless $rFcDay < $fcDays;
} }
readingsBulkUpdate( $hash, $rName, $rValue ); readingsBulkUpdate( $hash, $rName, $rValue );
PROPLANTA_Log $hash, 5, "reading:$rName value:$rValue"; PROPLANTA_Log $hash, 5, "reading:$rName value:$rValue";