From 681a7549143cc8b35aa598fe61d129cad4c168d1 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Wed, 25 Nov 2020 22:31:23 +0000 Subject: [PATCH] 30_HUEBridge.pm: added bridgeid internal git-svn-id: https://svn.fhem.de/fhem/trunk@23234 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/30_HUEBridge.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/30_HUEBridge.pm b/fhem/FHEM/30_HUEBridge.pm index 7061cc9da..30e16bf1c 100644 --- a/fhem/FHEM/30_HUEBridge.pm +++ b/fhem/FHEM/30_HUEBridge.pm @@ -410,6 +410,7 @@ sub HUEBridge_fillBridgeInfo($$) $hash->{name} = $config->{name}; $hash->{modelid} = $config->{modelid}; + $hash->{bridgeid} = $config->{bridgeid}; $hash->{swversion} = $config->{swversion}; $hash->{apiversion} = $config->{apiversion}; @@ -469,7 +470,8 @@ HUEBridge_OpenDev($) return; } - $hash->{mac} = $result->{'mac'}; + $hash->{mac} = $result->{mac}; + #$hash->{bridgeid} = $result->{bridgeid}; readingsSingleUpdate($hash, 'state', 'connected', 1 ); HUEBridge_GetUpdate($hash);