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:
parent
0562958287
commit
c273596045
@ -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}) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user