2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

HMInfo: support command eval for tempListTmpl

git-svn-id: https://svn.fhem.de/fhem/trunk@22646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-08-22 14:32:47 +00:00
parent a2b9bd266f
commit 727bbdf8a2

View File

@ -971,10 +971,10 @@ sub HMinfo_listOfTempTemplates() { ############################################
@tmpl = map{s/$dir//;$_} @tmpl;# then only the default dir -if avaialble
$defs{$n}{helper}{weekplanList} = \@tmpl;
if ($modules{CUL_HM}{AttrList}){
my $lst = "none,defaultWeekplan,".join(",",@tmpl);
$modules{CUL_HM}{AttrList} =~ s/ tempListTmpl(.*? )/ tempListTmpl:$lst /;
$modules{CUL_HM}{tempListTmplLst} = $lst;
}
return ;
}