Color::devStateIcon dim level 0 bug fix

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11053 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-03-12 21:52:53 +00:00
parent ba38deab6e
commit d02aa6439f

View File

@ -381,7 +381,7 @@ devStateIcon($$@)
my $percent; my $percent;
if( $pct ) { if( $pct ) {
$percent = ::ReadingsVal($name,$pct, undef); $percent = ::ReadingsVal($name,$pct, undef);
$percent = ::CommandGet("","$name $pct") if( !$percent ); $percent = ::CommandGet("","$name $pct") if( !defined($percent) );
} else { } else {
$percent = ::Value($name); $percent = ::Value($name);