mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
devStateIcon bugfix: noIcon should display the state
git-svn-id: https://svn.fhem.de/fhem/trunk@3256 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b7d4769f61
commit
5fa4341368
@ -2200,7 +2200,11 @@ FW_dev2image($)
|
||||
$rlink = $link;
|
||||
last;
|
||||
}
|
||||
return ($iconName, $link, (defined(FW_iconName($iconName)) ? 0 : 1));
|
||||
if(defined(FW_iconName($iconName))) {
|
||||
return ($iconName, $link, 0);
|
||||
} else {
|
||||
return ($state, $link, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user