2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

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 c114039791
commit 41573e7b6b

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);
}