mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 10:46:03 +00:00
Unit.pm: fix pct
git-svn-id: https://svn.fhem.de/fhem/trunk@12518 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f75f1d6321
commit
bbcec17e1d
@ -2616,7 +2616,7 @@ sub GetValueWithUnit ($$@) {
|
||||
my $l = ( $lang ? lc($lang) : "en" );
|
||||
my $return = GetDetails( $unit, $l );
|
||||
my $txt;
|
||||
return $value if ( !$return->{"unit"} );
|
||||
return $value if ( !$return->{"unit"} && !$return->{"unit_symbol"} );
|
||||
|
||||
$return->{"value"} = $value;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user