fix return to blockingDone
This commit is contained in:
parent
8bbd9cb390
commit
54c6dd62eb
@ -35,7 +35,7 @@ use POSIX;
|
|||||||
use JSON;
|
use JSON;
|
||||||
use Blocking;
|
use Blocking;
|
||||||
|
|
||||||
my $version = "0.6.0";
|
my $version = "0.6.2";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ sub XiaomiFlowerSens_BlockingRun($) {
|
|||||||
|
|
||||||
Log3 $name, 4, "Sub XiaomiFlowerSens_BlockingRun ($name) - Processing response data: $sensData";
|
Log3 $name, 4, "Sub XiaomiFlowerSens_BlockingRun ($name) - Processing response data: $sensData";
|
||||||
|
|
||||||
return "$name|$sensData" # if error in stdout the error will given to $lux variable
|
return "$name|chomp($sensData)" # if error in stdout the error will given to $sensData variable
|
||||||
unless( defined($batFwData) );
|
unless( defined($batFwData) );
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user