mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 05:16:02 +00:00
one less warning
git-svn-id: https://svn.fhem.de/fhem/trunk@4713 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fe9c451ded
commit
ac7546a5a2
@ -204,7 +204,7 @@ lookup2($$$$)
|
||||
my $vf = "";
|
||||
$vf = $lookup->{$reading} if( exists($lookup->{$reading}) );
|
||||
$vf = $lookup->{$name.".".$reading} if( exists($lookup->{$name.".".$reading}) );
|
||||
$vf = $lookup->{$reading.".".$value} if( exists($lookup->{$reading.".".$value}) );
|
||||
$vf = $lookup->{$reading.".".$value} if( defined($value) && exists($lookup->{$reading.".".$value}) );
|
||||
$lookup = $vf;
|
||||
} elsif($lookup =~ m/^{.*}$/) {
|
||||
my $DEVICE = $name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user