2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

31_HUEDevice.pm: added lightify gardenspot, tra to handle *RGB modelid automaticaly

git-svn-id: https://svn.fhem.de/fhem/trunk@7332 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-12-27 10:34:01 +00:00
parent e51f6febcc
commit c00fcd5791

View File

@ -40,6 +40,7 @@ my %hueModels = (
'PAR16 50 TW' => {name => 'Lightify PAR16 50 tunable white' ,type => 'Color Temperature Light' ,subType => 'ctdimmer',},
'Classic A60 TW' => {name => 'Lightify Classic A60 tunable white' ,type => 'Color Temperature Light' ,subType => 'ctdimmer',},
'Classic A60 RGBW' => {name => 'Lightify Classic A60 RGBW' ,type => 'Extended Color Light' ,subType => 'extcolordimmer',},
'Gardenspot RGB' => {name => 'Lightify Gardenspot Mini RGB' ,type => 'Color Light' ,subType => 'colordimmer',},
);
my %dim_values = (
@ -801,6 +802,9 @@ HUEDevice_Parse($$)
} elsif( $attr{$name}{model} =~ m/TW$/ ) {
$attr{$name}{subType} = 'ctdimmer';
} elsif( $attr{$name}{model} =~ m/RGB$/ ) {
$attr{$name}{subType} = 'colordimmer';
} elsif( $attr{$name}{model} =~ m/RGBW$/ ) {
$attr{$name}{subType} = 'extcolordimmer';