2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

Color::devStateIcon dim level 0 bug fix

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

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);