From 5a65f9935839107a909853b9c15a98abd04f2eb3 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 9 Jul 2021 17:28:55 +0000 Subject: [PATCH] fhem.pl: rename attribute section for the own module (Forum #120779) git-svn-id: https://svn.fhem.de/fhem/trunk@24715 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index b73e47724..0a38634c6 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -2808,9 +2808,9 @@ getAllAttr($;$$) &$add($AttrList, "framework"); if($defs{$d}{".AttrList"}) { - &$add($defs{$d}{".AttrList"}, "Module"); + &$add($defs{$d}{".AttrList"}, $defs{$d}{TYPE}); } else { - &$add($modules{$defs{$d}{TYPE}}{AttrList}, "Module"); + &$add($modules{$defs{$d}{TYPE}}{AttrList}, $defs{$d}{TYPE}); } my $nl2space = sub($$)