mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 14:46:24 +00:00
30_HUEBridge.pm: deCONZ fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@11876 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
658d9377e1
commit
f101c69eba
@ -214,7 +214,7 @@ HUEBridge_OpenDev($)
|
||||
}
|
||||
Log3 $name, 5, "HUEBridge_OpenDev: got config " . Dumper $result;
|
||||
|
||||
if( !defined($result->{'linkbutton'}) )
|
||||
if( !defined($result->{'linkbutton'}) || !AttrVal($name, 'key', undef) )
|
||||
{
|
||||
HUEBridge_fillBridgeInfo($hash, $result);
|
||||
|
||||
@ -1220,7 +1220,7 @@ HUEBridge_HTTP_Request($$$@)
|
||||
$hdr .= "\r\n\r\n";
|
||||
syswrite $conn, $hdr;
|
||||
syswrite $conn, $data if(defined($data));
|
||||
shutdown $conn, 1 if(!$noshutdown);
|
||||
#shutdown $conn, 1 if(!$noshutdown);
|
||||
|
||||
my ($buf, $ret) = ("", "");
|
||||
$conn->timeout($timeout);
|
||||
|
Loading…
x
Reference in New Issue
Block a user