98_hmInfo: minor bug

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8222 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2015-03-15 18:28:09 +00:00
parent 5094e5b9e7
commit cc8a943ad6

View File

@@ -172,7 +172,7 @@ sub HMinfo_status($){##########################################################
if ($ehash->{helper}{role}{dev}){#---restrict to devices if ($ehash->{helper}{role}{dev}){#---restrict to devices
$nbrD++; $nbrD++;
push @IOdev,$ehash->{IODev}{NAME} if($ehash->{IODev} && $ehash->{IODev}{NAME}); push @IOdev,$ehash->{IODev}{NAME} if($ehash->{IODev} && $ehash->{IODev}{NAME});
$IOccu{(split ":",AttrVal($eName,"IOgrp",""))[0]}=1; $IOccu{(split ":",AttrVal($eName,"IOgrp","no"))[0]}=1;
push @Anames,$eName if ($attr{$eName}{actStatus} && $attr{$eName}{actStatus} ne "alive"); push @Anames,$eName if ($attr{$eName}{actStatus} && $attr{$eName}{actStatus} ne "alive");
foreach (grep /ErrIoId_/, keys %{$ehash}){# detect addtional critical entries foreach (grep /ErrIoId_/, keys %{$ehash}){# detect addtional critical entries