2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 08:11:44 +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:
borisneubert 2012-08-18 16:19:17 +00:00
parent c6a595bd6c
commit 3ad927b202

View File

@ -332,9 +332,9 @@ WeatherIconIMGTag($$$) {
$icon =~ s,^/ig/images/weather/(.*)\.gif$,$1,; $icon =~ s,^/ig/images/weather/(.*)\.gif$,$1,;
if($isday) { if($isday) {
$icon= "weather/${icon}.png" $icon= "weather/${icon}"
} else { } else {
$icon= "weather/${icon}_night.png" $icon= "weather/${icon}_night"
} }
$url= "fhem/icons/$icon"; $url= "fhem/icons/$icon";