From 083a23e74a7b955068f03009ab193c46537e06b3 Mon Sep 17 00:00:00 2001 From: loredo Date: Mon, 21 Nov 2016 18:26:11 +0000 Subject: [PATCH] 59_Wunderground: add degree symbol in forecast texts git-svn-id: https://svn.fhem.de/fhem/trunk@12621 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/59_Wunderground.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/59_Wunderground.pm b/fhem/FHEM/59_Wunderground.pm index 55f7d2ba1..f85878bb8 100644 --- a/fhem/FHEM/59_Wunderground.pm +++ b/fhem/FHEM/59_Wunderground.pm @@ -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} );