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:
parent
b2201a706d
commit
7565e26848
@ -6783,6 +6783,12 @@ sub CUL_HM_ActCheck($) {# perform supervision
|
|||||||
foreach my $devId (split(",",$peerIDs)){
|
foreach my $devId (split(",",$peerIDs)){
|
||||||
next if (!$devId);
|
next if (!$devId);
|
||||||
my $devName = CUL_HM_id2Name($devId);
|
my $devName = CUL_HM_id2Name($devId);
|
||||||
|
|
||||||
|
if(AttrVal($devName,"ignore",0)){
|
||||||
|
delete $actHash->{READINGS}{"status_".$devName};
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
if(!$devName || !defined($attr{$devName}{actCycle})){
|
if(!$devName || !defined($attr{$devName}{actCycle})){
|
||||||
CUL_HM_ActDel($devId);
|
CUL_HM_ActDel($devId);
|
||||||
next;
|
next;
|
||||||
|
@ -1097,6 +1097,7 @@ sub HMinfo_GetFn($@) {#########################################################
|
|||||||
devspec2array("model=HM.*-TC.*:FILTER=chanNo=02:FILTER=tempListTmpl=.*"));
|
devspec2array("model=HM.*-TC.*:FILTER=chanNo=02:FILTER=tempListTmpl=.*"));
|
||||||
my @tlr;
|
my @tlr;
|
||||||
foreach my $e (@td){
|
foreach my $e (@td){
|
||||||
|
next if(!grep /$e/,@entities );
|
||||||
my $tr = CUL_HM_tempListTmpl($e,"verify",AttrVal($e,"tempListTmpl"
|
my $tr = CUL_HM_tempListTmpl($e,"verify",AttrVal($e,"tempListTmpl"
|
||||||
,AttrVal($hash->{NAME},"configDir",".")."/tempList.cfg:$e"));
|
,AttrVal($hash->{NAME},"configDir",".")."/tempList.cfg:$e"));
|
||||||
next if ($tr eq "unused");
|
next if ($tr eq "unused");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user