30_HUEBridge.pm: fixed websocket reconnect

git-svn-id: https://svn.fhem.de/fhem/trunk@23363 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2020-12-16 09:35:18 +00:00
parent 78af08b8e3
commit 1f79e40a75

View File

@@ -416,7 +416,7 @@ sub HUEBridge_fillBridgeInfo($$)
if( defined($config->{websocketport}) ) {
$hash->{websocketport} = $config->{websocketport};
HUEBridge_openWebsocket($hash);
HUEBridge_openWebsocket($hash) if( !defined($hash->{CD}) );
}
if( $hash->{apiversion} ) {