fhem.pl: allow FHEMWEB parameter spec in eventMap (Forum #76755)

git-svn-id: https://svn.fhem.de/fhem/trunk@15095 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-09-19 11:11:33 +00:00
parent 98f85da3c2
commit 8621f6624b

View File

@@ -3857,7 +3857,8 @@ ReplaceEventMap($$$)
# interpreted as the single possible value for a dropdown
# Why is the .*= deleted?
$defs{$dev}{".eventMapCmd"} = join(" ", grep { !/ / }
map { $_ =~ s/.*?=//s; $_ =~ s/.*?://s; "$_:noArg" } @emList);
map { $_ =~ s/.*?=//s; $_ =~ s/.*?://s;
$_ =~ m/:/ ? $_ : "$_:noArg" } @emList);
}
my ($dname, $nstr);