diff --git a/FHEM/31_HUEDevice.pm b/FHEM/31_HUEDevice.pm index 9a6cc3a91..f97dda92c 100644 --- a/FHEM/31_HUEDevice.pm +++ b/FHEM/31_HUEDevice.pm @@ -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';