mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
Activate EvalSpecials in postproc (patch supplied by Tobias Faust)
git-svn-id: https://svn.fhem.de/fhem/trunk@1678 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
008a266170
commit
e32bdabd8e
@ -104,9 +104,11 @@ ECMDDevice_PostProc($$$)
|
||||
#my %specials= ECMDDevice_DeviceParams2Specials($hash);
|
||||
#my $command= EvalSpecials($postproc, %specials);
|
||||
# we pass the command verbatim instead
|
||||
my $command= $postproc;
|
||||
# my $command= $postproc;
|
||||
|
||||
if($postproc) {
|
||||
my %specials= ECMDDevice_DeviceParams2Specials($hash);
|
||||
my $command= EvalSpecials($postproc, %specials);
|
||||
$_= $value;
|
||||
Log 5, "Postprocessing $value with perl command $command.";
|
||||
$value= AnalyzePerlCommand(undef, $command);
|
||||
|
Loading…
x
Reference in New Issue
Block a user