mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fhem.pl: further attribute group tuning (Forum #119289)
git-svn-id: https://svn.fhem.de/fhem/trunk@23904 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6c2dd3050b
commit
eb6f93fac1
14
fhem/fhem.pl
14
fhem/fhem.pl
@ -388,11 +388,11 @@ my @attrList = qw(
|
||||
timestamp-on-change-reading
|
||||
);
|
||||
$readingFnAttributes = join(" ", @attrList);
|
||||
my %framework_attrList = map { $_ => 1 } @attrList;
|
||||
map { $framework_attrList{$_} = 1 } (
|
||||
"ignore",
|
||||
"disable",
|
||||
"disabledForIntervals"
|
||||
my %framework_attrList = map { s/:.*//; $_ => 1 } @attrList;
|
||||
map { $framework_attrList{$_} = 1 } qw(
|
||||
ignore
|
||||
disable
|
||||
disabledForIntervals
|
||||
);
|
||||
|
||||
my %ra = (
|
||||
@ -2758,7 +2758,7 @@ getAllAttr($;$$)
|
||||
split(" ",$v) if($typeHash);
|
||||
};
|
||||
|
||||
&$add($AttrList, "global");
|
||||
&$add($AttrList, "framework");
|
||||
if($defs{$d}{".AttrList"}) {
|
||||
&$add($defs{$d}{".AttrList"}, "Module");
|
||||
} else {
|
||||
@ -2773,7 +2773,7 @@ getAllAttr($;$$)
|
||||
&$add($v, $type);
|
||||
};
|
||||
$nl2space->($attr{global}{userattr}, "global userattr");
|
||||
$nl2space->($attr{$d}{userattr}, "Device userattr") if($attr{$d});
|
||||
$nl2space->($attr{$d}{userattr}, "device userattr") if($attr{$d});
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user