mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 06:08:44 +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:
parent
6ff35f94a8
commit
b4673306e4
@ -381,7 +381,7 @@ devStateIcon($$@)
|
||||
my $percent;
|
||||
if( $pct ) {
|
||||
$percent = ::ReadingsVal($name,$pct, undef);
|
||||
$percent = ::CommandGet("","$name $pct") if( !$percent );
|
||||
$percent = ::CommandGet("","$name $pct") if( !defined($percent) );
|
||||
|
||||
} else {
|
||||
$percent = ::Value($name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user