47_OBIS: another small fix

git-svn-id: https://svn.fhem.de/fhem/trunk@10880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
icinger
2016-02-19 20:25:51 +00:00
parent 5e1041c236
commit 3b4af9242e

View File

@@ -160,7 +160,7 @@ sub OBIS_Read($)
my $tn = TimeNow();
my $buf = DevIo_SimpleRead($hash);
if ($hash->{helper}{EoM}!=1) {OBIS_Parse($hash,$buf);}
if ($hash->{helper}{EoM}!=1 && $hash->{helper}{DEVICES}[1]>0) {OBIS_Parse($hash,$buf);}
return(undef);
}