2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-28 11:01:59 +00:00

HM_Info: repair ignore handling

git-svn-id: https://svn.fhem.de/fhem/trunk@7823 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-02-01 17:04:30 +00:00
parent b2201a706d
commit 7565e26848
2 changed files with 7 additions and 0 deletions

View File

@ -6783,6 +6783,12 @@ sub CUL_HM_ActCheck($) {# perform supervision
foreach my $devId (split(",",$peerIDs)){
next if (!$devId);
my $devName = CUL_HM_id2Name($devId);
if(AttrVal($devName,"ignore",0)){
delete $actHash->{READINGS}{"status_".$devName};
next;
}
if(!$devName || !defined($attr{$devName}{actCycle})){
CUL_HM_ActDel($devId);
next;

View File

@ -1097,6 +1097,7 @@ sub HMinfo_GetFn($@) {#########################################################
devspec2array("model=HM.*-TC.*:FILTER=chanNo=02:FILTER=tempListTmpl=.*"));
my @tlr;
foreach my $e (@td){
next if(!grep /$e/,@entities );
my $tr = CUL_HM_tempListTmpl($e,"verify",AttrVal($e,"tempListTmpl"
,AttrVal($hash->{NAME},"configDir",".")."/tempList.cfg:$e"));
next if ($tr eq "unused");