2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

31_HUEDevice.pm: fixed possible uninitialized value message

git-svn-id: https://svn.fhem.de/fhem/trunk@8007 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-02-16 11:57:47 +00:00
parent 0562958287
commit c273596045

View File

@ -874,7 +874,7 @@ HUEDevice_Parse($$)
}
} elsif( $attr{$name}{subType} eq "colordimmer" ) {
} elsif( $attr{$name}{subType} eq "colordimmer" && defined($attr{$name}{model}) ) {
$attr{$name}{subType} = $hueModels{$attr{$name}{model}}{subType} if( defined($hueModels{$attr{$name}{model}}{subType}) );
}