2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 09:55:38 +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 d88c14a230
commit b6d1e58cef

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 {