33_readingsGroup.pm: fixed commands mapping with a dot in the reading name
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7883 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -608,7 +608,7 @@ readingsGroup_2html($;$)
|
||||
my $webCmdFn = 0;
|
||||
my $cmd = lookup2($hash->{helper}{commands},$name,$d,$txt);
|
||||
|
||||
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s\S*)?$/ ) {
|
||||
if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) {
|
||||
my $set = $1;
|
||||
my $values = $2;
|
||||
$set .= $3 if( $3 );
|
||||
@@ -770,7 +770,7 @@ readingsGroup_2html($;$)
|
||||
if( !$devStateIcon ) {
|
||||
$cmd = lookup2($hash->{helper}{commands},$name,$n,$v) if( !$devStateIcon );
|
||||
|
||||
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s\S*)?$/ ) {
|
||||
if( $cmd && $cmd =~ m/^([\w.-]*):(\S*)?(\s\S*)?$/ ) {
|
||||
my $set = $1;
|
||||
my $values = $2;
|
||||
$set .= $3 if( $3 );
|
||||
|
||||
Reference in New Issue
Block a user