mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
31_HUEDevice.pm: fixed detection of subType
git-svn-id: https://svn.fhem.de/fhem/trunk@7978 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ca48f8967f
commit
e14aefc1b8
@ -852,9 +852,6 @@ HUEDevice_Parse($$)
|
||||
} elsif( $attr{$name}{model} =~ m/RGBW$/ ) {
|
||||
$attr{$name}{subType} = 'extcolordimmer';
|
||||
|
||||
} elsif( $attr{$name}{model} =~ m/RGBW$/ ) {
|
||||
$attr{$name}{subType} = 'extcolordimmer';
|
||||
|
||||
} elsif( $hash->{type} ) {
|
||||
if( $hash->{type} eq "Extended color light" ) {
|
||||
$attr{$name}{subType} = 'extcolordimmer';
|
||||
@ -862,6 +859,9 @@ HUEDevice_Parse($$)
|
||||
} elsif( $hash->{type} eq "Color light" ) {
|
||||
$attr{$name}{subType} = 'colordimmer';
|
||||
|
||||
} elsif( $hash->{type} eq "Color Temperature Light" ) {
|
||||
$attr{$name}{subType} = 'ctdimmer';
|
||||
|
||||
} elsif( $hash->{type} eq "Dimmable light" ) {
|
||||
$attr{$name}{subType} = 'dimmer';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user