2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

30_HUEBridge.pm: added bridgeid internal

git-svn-id: https://svn.fhem.de/fhem/trunk@23234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2020-11-25 22:31:23 +00:00
parent e56ad954a1
commit 681a754914

View File

@ -410,6 +410,7 @@ sub HUEBridge_fillBridgeInfo($$)
$hash->{name} = $config->{name}; $hash->{name} = $config->{name};
$hash->{modelid} = $config->{modelid}; $hash->{modelid} = $config->{modelid};
$hash->{bridgeid} = $config->{bridgeid};
$hash->{swversion} = $config->{swversion}; $hash->{swversion} = $config->{swversion};
$hash->{apiversion} = $config->{apiversion}; $hash->{apiversion} = $config->{apiversion};
@ -469,7 +470,8 @@ HUEBridge_OpenDev($)
return; return;
} }
$hash->{mac} = $result->{'mac'}; $hash->{mac} = $result->{mac};
#$hash->{bridgeid} = $result->{bridgeid};
readingsSingleUpdate($hash, 'state', 'connected', 1 ); readingsSingleUpdate($hash, 'state', 'connected', 1 );
HUEBridge_GetUpdate($hash); HUEBridge_GetUpdate($hash);