mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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:
parent
329d3b8a8e
commit
5dd0fe8777
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user