2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

33_readingsGroup.pm: fix for & in <...>

git-svn-id: https://svn.fhem.de/fhem/trunk@12137 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-09-11 14:45:55 +00:00
parent 3a9426986c
commit 70b999e894

View File

@ -109,6 +109,9 @@ readingsGroup_updateDevices($;$)
push @devices, [$d,$regex];
}
} elsif($device[0] =~ m/^<.*>$/) {
push @devices, [$device[0]];
} elsif($device[0] =~ m/(.*)=(.*)/) {
my ($lattr,$re) = ($1, $2);
foreach my $d (sort keys %defs) {
@ -130,9 +133,6 @@ readingsGroup_updateDevices($;$)
push @devices, [$d,$device[1]];
}
} elsif($device[0] =~ m/^<.*>$/) {
push @devices, [$device[0]];
} elsif( defined($defs{$device[0]}) ) {
$list{$device[0]} = 1;
push @devices, [@device];