59_Wunderground: add degree symbol in forecast texts

git-svn-id: https://svn.fhem.de/fhem/trunk@12621 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2016-11-21 18:26:11 +00:00
parent 7062dabc36
commit 083a23e74a

View File

@@ -700,6 +700,8 @@ sub Wunderground_Hash2Readings($$;$) {
}
$reading = "fc" . $period . "_";
$h->{fcttext_metric} =~ s/(\d)C/$1°C/g;
$h->{fcttext} =~ s/(\d)F/$1 °F/g;
readingsBulkUpdate( $hash, $reading . "icon$night",
$h->{icon} );