2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

10_CUL_HM.pm: templist switch off

git-svn-id: https://svn.fhem.de/fhem/trunk@7272 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-12-20 08:59:27 +00:00
parent 1869dde87f
commit e8ee0ab928

View File

@ -7266,7 +7266,7 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
my %dlf = (1=>{Sat=>0,Sun=>0,Mon=>0,Tue=>0,Wed=>0,Thu=>0,Fri=>0},
2=>{Sat=>0,Sun=>0,Mon=>0,Tue=>0,Wed=>0,Thu=>0,Fri=>0},
3=>{Sat=>0,Sun=>0,Mon=>0,Tue=>0,Wed=>0,Thu=>0,Fri=>0});
return "unused" if ($template =~ m/$(none|0)$/);
return "unused" if ($template =~ m/^(none|0) *$/);
my $ret = "";
my @el = split",",$name;
my ($fName,$tmpl) = split":",$template;