mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
98_HMInfo:ignore devices with attribute ignore
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17467 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a74c7ac7a0
commit
361a289e3e
@ -1080,8 +1080,7 @@ sub HMinfo_getEntities(@) { ###################################################
|
||||
my $eHash = $modules{CUL_HM}{defptr}{$id};
|
||||
my $eName = $eHash->{NAME};
|
||||
next if ( !$eName || $eName !~ m/$re/);
|
||||
my $eIg = CUL_HM_Get($eHash,$eName,"param","ignore");
|
||||
$eIg = "" if ($eIg eq "undefined");
|
||||
my $eIg = CUL_HM_getAttr($eName,"ignore","");
|
||||
next if (!$doIgn && $eIg);
|
||||
next if (!(($doDev && $eHash->{helper}{role}{dev}) ||
|
||||
($doChn && $eHash->{helper}{role}{chn})));
|
||||
|
Loading…
x
Reference in New Issue
Block a user