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:
@@ -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} ) {
|
||||
|
||||
Reference in New Issue
Block a user