2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.pl: multiline userReadings. (Forum #42431)

git-svn-id: https://svn.fhem.de/fhem/trunk@10074 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-12-03 14:43:08 +00:00
parent 329d3b8a8e
commit 5dd0fe8777

View File

@ -225,7 +225,7 @@ use vars qw($cmdFromAnalyze); # used by the warnings-sub
use vars qw($featurelevel); use vars qw($featurelevel);
my $AttrList = "verbose:0,1,2,3,4,5 room group comment:textField-long alias ". my $AttrList = "verbose:0,1,2,3,4,5 room group comment:textField-long alias ".
"eventMap userReadings"; "eventMap userReadings:textField-long";
my $currcfgfile=""; # current config/include file my $currcfgfile=""; # current config/include file
my $currlogfile; # logfile, without wildcards my $currlogfile; # logfile, without wildcards
my $cvsid = '$Id$'; my $cvsid = '$Id$';
@ -2429,7 +2429,7 @@ CommandAttr($$)
#Log 1, "arg is $arg"; #Log 1, "arg is $arg";
while($arg =~ /$regexo/) { while($arg =~ /$regexo/s) {
my $userReading= $2; my $userReading= $2;
my $trigger= $3 ? $3 : undef; my $trigger= $3 ? $3 : undef;
my $modifier= $5 ? $5 : "none"; my $modifier= $5 ? $5 : "none";