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

30_HUEBridge.pm: added apiversion to internals

31_HUEDevice.pm: added uniqueid to internals


git-svn-id: https://svn.fhem.de/fhem/trunk@7327 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-12-26 18:37:49 +00:00
parent b5cbac4d34
commit 299d04dffe
2 changed files with 2 additions and 1 deletions

View File

@ -346,6 +346,7 @@ HUEBridge_Parse($$)
$hash->{name} = $result->{name};
$hash->{swversion} = $result->{swversion};
$hash->{apiversion} = $result->{apiversion};
if( defined( $result->{swupdate} ) ) {
my $txt = $result->{swupdate}->{text};

View File

@ -158,7 +158,6 @@ sub HUEDevice_Define($$)
my ($name, $type, $id, $interval) = @args;
$hash->{STATE} = 'Initialized';
$hash->{helper}{interfaces}= "dimmer";
$hash->{ID} = $hash->{helper}->{group}.$id;
@ -788,6 +787,7 @@ HUEDevice_Parse($$)
}
$hash->{modelid} = $result->{modelid};
$hash->{uniqueid} = $result->{uniqueid};
$hash->{swversion} = $result->{swversion};