2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

31_HUEDevice.pm: added snd modelid for lightify plug, busch-jaeger RM01, more general On/Off light detection.

git-svn-id: https://svn.fhem.de/fhem/trunk@11356 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-05-01 09:19:02 +00:00
parent d8de18b49f
commit 6e18e8ac5f

View File

@ -81,6 +81,9 @@ my %hueModels = (
'Classic A60 TW' => {name => 'LIGHTIFY Classic A60 tunable white' ,type => 'Color Temperature Light' ,subType => 'ctdimmer',},
'PAR16 50 TW' => {name => 'LIGHTIFY PAR16 50 tunable white' ,type => 'Color Temperature Light' ,subType => 'ctdimmer',},
'Plug - LIGHTIFY' => {name => 'LIGHTIFY Plug' ,type => 'On/Off plug-in unit ' ,subType => 'switch',},
'Plug 01' => {name => 'LIGHTIFY Plug' ,type => 'On/Off plug-in unit ' ,subType => 'switch',},
'RM01' => {name => 'Busch-Jaeger ZigBee Light Link' ,type => 'On/Off light' ,subType => 'switch',},
);
my %dim_values = (
@ -1043,6 +1046,9 @@ HUEDevice_Parse($$)
} elsif( $hash->{type} eq "Dimmable plug-in unit" ) {
$attr{$name}{subType} = 'dimmer';
} elsif( $hash->{type} =~ m'On/Off' ) {
$attr{$name}{subType} = 'switch';
}
}