98_DOIF.pm: fixed filter by numbers "d"

git-svn-id: https://svn.fhem.de/fhem/trunk@27487 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian
2023-04-26 08:04:04 +00:00
parent c159f8eea4
commit 0a727a1d54

View File

@@ -2291,7 +2291,7 @@ sub ReplaceReadingDoIf
$hash->{$bartype}{"$name $reading"}{"$num $period"}{timeOffset} = (defined $timeOffset and $timeOffset ne "") ? $timeOffset : 0;
DOIF_setValue_bar($hash,\%{$hash->{$bartype}{"$name $reading"}{"$num $period"}},undef,1);
}
} elsif ($format =~ /^(d\d)(?::(.*))?/) {
} elsif ($format =~ /^(d\d?)(?::(.*))?/) {
$regExp =$1;
$output=$2;
}else {