SetExtensions.pm: Fix but caused by AttrTemplate patch (Forum #93375)
git-svn-id: https://svn.fhem.de/fhem/trunk@17774 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -81,7 +81,7 @@ SetExtensions($$@)
|
||||
if(!defined($se_list{$cmd})) {
|
||||
# Add only "new" commands
|
||||
my @mylist = grep { $list !~ m/\b$_\b/ } keys %se_list;
|
||||
return AttrTemplate_Set($hash, join(" ", @mylist), $name, $cmd, @a);
|
||||
return AttrTemplate_Set($hash, "$list ".join(" ", @mylist), $name, $cmd,@a);
|
||||
}
|
||||
if($se_list{$cmd} && $se_list{$cmd} != int(@a)) {
|
||||
return "$cmd requires $se_list{$cmd} parameter";
|
||||
|
||||
Reference in New Issue
Block a user