mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-29 23:47:10 +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:
parent
c114039791
commit
41573e7b6b
@ -160,7 +160,7 @@ sub OBIS_Read($)
|
|||||||
my $tn = TimeNow();
|
my $tn = TimeNow();
|
||||||
|
|
||||||
my $buf = DevIo_SimpleRead($hash);
|
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);
|
return(undef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user