2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

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 95f8b2cf8f
commit fcc88c1a26

View File

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