git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -824,7 +824,7 @@ ZWDongle_Ready($)
|
||||
return undef if (IsDisabled($hash->{NAME}));
|
||||
|
||||
return DevIo_OpenDev($hash, 1, "ZWDongle_DoInit")
|
||||
if(ReadingsVal($hash->{NAME}, "state", "disconnected"));
|
||||
if(ReadingsVal($hash->{NAME}, "state","") eq "disconnected");
|
||||
|
||||
# This is relevant for windows/USB only
|
||||
my $po = $hash->{USBDev};
|
||||
|
||||
Reference in New Issue
Block a user