2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 23:36:37 +00:00

76_SMAPortal: contrib 3.1.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22208 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-06-20 11:41:12 +00:00
parent cdaa636456
commit 4bf341ae27

View File

@ -2121,7 +2121,7 @@ sub extractWeatherData {
my $day = $k;
my $symbol = encode("utf8", $weather->{$k}{TemperatureSymbol});
my $temp = sprintf("%.1f", $weather->{$k}{Temperature});
my $wdesc = $weather->{$k}{WeatherDescription};
my $wdesc = encode ("utf8", $weather->{$k}{WeatherDescription});
$wdesc =~ s/t/T/x if($wdesc =~ /^t/x);
$day =~ s/t/T/x;