mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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:
parent
a2b9bd266f
commit
727bbdf8a2
@ -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 ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user