mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 19:36:02 +00:00
33_readingsGroup.pm: fixed commands mapping with a dot in the reading name
git-svn-id: https://svn.fhem.de/fhem/trunk@7883 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
618e57e1dc
commit
80ace0c35f
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user