mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@10050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
87ff20ba81
commit
4b6820eedd
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user