bugfix
This commit is contained in:
parent
7a6a4fe796
commit
02c499f52d
@ -386,7 +386,7 @@ sub XiaomiFlowerSens_callGatttool($@) {
|
||||
Log3 $name, 4, "Sub XiaomiFlowerSens_callGatttool ($name) - processing gatttool response. sensData: $readSensData[1]";
|
||||
|
||||
return ($readSensData[1],undef)
|
||||
unless( $readSensData[0] !=~ /Characteristic value/ );
|
||||
unless( $readSensData[0] =~ /Characteristic value/ );
|
||||
|
||||
|
||||
### Read Firmware and Battery Data
|
||||
@ -402,7 +402,7 @@ sub XiaomiFlowerSens_callGatttool($@) {
|
||||
Log3 $name, 4, "Sub XiaomiFlowerSens_callGatttool ($name) - processing gatttool response. batFwData: $readBatFwData[1]";
|
||||
|
||||
return ($readBatFwData[1],undef)
|
||||
unless( $readBatFwData[0] !=~ /Characteristic value/ );
|
||||
unless( $readBatFwData[0] =~ /Characteristic value/ );
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user