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:
justme1968
2014-12-16 09:31:58 +00:00
parent c1a7a54be5
commit 0468a1ed52

View File

@@ -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;
}