diff --git a/FHEM/AttrTemplate.pm b/FHEM/AttrTemplate.pm index 30f13f651..d07e2b432 100644 --- a/FHEM/AttrTemplate.pm +++ b/FHEM/AttrTemplate.pm @@ -156,6 +156,14 @@ AttrTemplate_Help($) my $ret = ""; $ret = $templates{$n}{desc} if($templates{$n}{desc}); $ret .= "
".join("\n",@{$templates{$n}{cmds}})."
"; + + if(AttrVal("global", "showInternalValues", undef)) { + my @atList = grep /set\s.*\sattrTemplate\s/,@{$templates{$n}{cmds}}; + foreach my $at (@atList) { + next if($at !~ m/set\s.*\sattrTemplate\s(.*?) /); + $ret .= "
attrTemplate $1:
".AttrTemplate_Help($1); + } + } return $ret; }