mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
33_readingsGroup.pm: allow parameter also in command mapping with allSets shortcut
git-svn-id: https://svn.fhem.de/fhem/trunk@7225 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dee9ab02ed
commit
fb55ed41b7
@ -594,6 +594,7 @@ readingsGroup_2html($;$)
|
||||
if( !$values ) {
|
||||
my %extPage = ();
|
||||
my ($allSets, undef, undef) = FW_devState($name, "", \%extPage);
|
||||
my ($set) = split( ' ', $set, 2 );
|
||||
if( $allSets && $allSets =~ m/$set:([^ ]*)/) {
|
||||
$values = $1;
|
||||
}
|
||||
@ -757,6 +758,7 @@ readingsGroup_2html($;$)
|
||||
if( !$values ) {
|
||||
my %extPage = ();
|
||||
my ($allSets, undef, undef) = FW_devState($name, $room, \%extPage);
|
||||
my ($set) = split( ' ', $set, 2 );
|
||||
if( $allSets && $allSets =~ m/$set:([^ ]*)/) {
|
||||
$values = $1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user