74_AMAD: fix Use of uninitialized value, no Flowset update nececcary

git-svn-id: https://svn.fhem.de/fhem/trunk@14120 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
CoolTux
2017-04-27 16:22:21 +00:00
parent ce5eef6017
commit beea0da85b
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 74_AMAD: fix Use of uninitialized value,no Flowset update nececcary
- feature: 34_ESPEasy: added ESPEasy commands: tone and rtttl
- bugfix: 88_HMCCU: fixed config commands
- feature: 30_pilight_contact: add battery reading if information is available

View File

@@ -37,7 +37,7 @@ use TcpServerUtils;
use Encode qw(encode);
my $modulversion = "2.6.12";
my $modulversion = "2.6.13";
my $flowsetversion = "2.6.12";
@@ -1326,7 +1326,9 @@ sub AMAD_CommBridge_Read($) {
if( defined($fhemcmd) and ($fhemcmd) ) {
if ( $fhemcmd =~ /setreading\b/ ) {
my $tv = $data[1];
return Log3 $bname, 3, "AMAD ($bname) - AMAD_CommBridge: processing receive no reading values from Device: $device"
unless( defined($tv) and ($tv) );
Log3 $bname, 4, "AMAD ($bname) - AMAD_CommBridge: processing receive reading values - Device: $device Data: $tv";
AMAD_ResponseProcessing($dhash,$tv);