33_readingsGroup.pm: fix for valueFormat and headings
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7078 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -490,7 +490,7 @@ readingsGroup_2html($)
|
||||
next if( !defined($txt) );
|
||||
}
|
||||
|
||||
my $value_format = lookup2($hash->{helper}{valueFormat},$name,$1,undef);
|
||||
my $value_format = lookup2($hash->{helper}{valueFormat},$name,$1,"");
|
||||
next if( !defined($value_format) );
|
||||
if( $value_format =~ m/%/ ) {
|
||||
$txt = sprintf( $value_format, $txt );
|
||||
|
||||
Reference in New Issue
Block a user