mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 07:44:19 +00:00
changed 59_Weather to use logical icon names for local weather icons
git-svn-id: https://svn.fhem.de/fhem/trunk@1807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c6a595bd6c
commit
3ad927b202
@ -332,9 +332,9 @@ WeatherIconIMGTag($$$) {
|
||||
$icon =~ s,^/ig/images/weather/(.*)\.gif$,$1,;
|
||||
|
||||
if($isday) {
|
||||
$icon= "weather/${icon}.png"
|
||||
$icon= "weather/${icon}"
|
||||
} else {
|
||||
$icon= "weather/${icon}_night.png"
|
||||
$icon= "weather/${icon}_night"
|
||||
}
|
||||
|
||||
$url= "fhem/icons/$icon";
|
||||
|
Loading…
x
Reference in New Issue
Block a user