mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
33_readingsGroup.pm: fixed undefined warning
git-svn-id: https://svn.fhem.de/fhem/trunk@8980 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
923bd729b1
commit
cf68bf183e
@ -291,6 +291,8 @@ lookup($$$$$$$$$)
|
|||||||
$default = $mapping;
|
$default = $mapping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $default if( !defined($default) );
|
||||||
|
|
||||||
if( !ref($default) && $default =~ m/^{.*}$/) {
|
if( !ref($default) && $default =~ m/^{.*}$/) {
|
||||||
my $DEVICE = $name;
|
my $DEVICE = $name;
|
||||||
my $READING = $reading;
|
my $READING = $reading;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user