diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 73a8aa283..adbe0576a 100644 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -2304,6 +2304,7 @@ FW_select($$$$$@) next if($processed{$v}); if($typeHash) { my $newType = $typeHash->{$v}; + $newType =~ s/^#//; #124538, see also getAllAttr if($newType ne $oldType) { $s .= "" if($oldType); $s .= "" if($newType); diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 89d7d1e37..941fa0320 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -2806,9 +2806,9 @@ getAllAttr($;$$) &$add($AttrList, "framework"); if($defs{$d}{".AttrList"}) { - &$add($defs{$d}{".AttrList"}, $defs{$d}{TYPE}); + &$add($defs{$d}{".AttrList"}, "#".$defs{$d}{TYPE}); #124538 } else { - &$add($modules{$defs{$d}{TYPE}}{AttrList}, $defs{$d}{TYPE}); + &$add($modules{$defs{$d}{TYPE}}{AttrList}, "#".$defs{$d}{TYPE}); } my $nl2space = sub($$)