mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
SetExtensions.pm: evaluate widget-specs of the form {.+} (Forum #124505)
git-svn-id: https://svn.fhem.de/fhem/trunk@25285 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1945a8f974
commit
ceef063f8b
@ -94,6 +94,9 @@ SetExtensions($$@)
|
||||
$fixedIt = 1;
|
||||
}
|
||||
|
||||
# Forum #124505
|
||||
$list =~ s/:\{([^ ]+)\}/$cmdFromAnalyze=$1; ":".(eval $1)/e if($cmd eq "?");
|
||||
|
||||
if(!$onCmd || !$offCmd) { # No extension
|
||||
return AttrTemplate_Set($hash, $list, $name, $cmd, @a);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user