From 13941827d6a392a4ed4e7566108e16f42cdfa9a1 Mon Sep 17 00:00:00 2001 From: Lippie81 <46738685+Lippie81@users.noreply.github.com> Date: Tue, 12 Mar 2019 06:46:11 +0100 Subject: [PATCH] Update 59_Weather.pm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bugfix: 761: ReadingsVal( $d, "${fc}${i}_day_of_week", "" ),
%s =>Das
%s gehört da nicht hin. In Zeile 763 und 773 fehlt ein Komma als Zeilenabschluss. --- 59_Weather.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/59_Weather.pm b/59_Weather.pm index 8827f20..f9a8457 100755 --- a/59_Weather.pm +++ b/59_Weather.pm @@ -757,10 +757,10 @@ sub WeatherAsHtmlV($;$$) { '%s%s: %s
min %s°C max %s°C
%s', $width, WeatherIconIMGTag( ReadingsVal( $d, "${fc}${i}_icon", "" ) ), - ReadingsVal( $d, "${fc}${i}_day_of_week", "" ),
%s + ReadingsVal( $d, "${fc}${i}_day_of_week", "" ), ReadingsVal( $d, "${fc}${i}_condition", "" ), ReadingsVal( $d, "${fc}${i}_low_c", " - " ), - ReadingsVal( $d, "${fc}${i}_high_c", " - " ) + ReadingsVal( $d, "${fc}${i}_high_c", " - " ), ReadingsVal( $d, "${fc}${i}_wind_condition", " - " ) ); }else{ @@ -770,7 +770,7 @@ sub WeatherAsHtmlV($;$$) { WeatherIconIMGTag( ReadingsVal( $d, "${fc}${i}_icon", "" ) ), ReadingsVal( $d, "${fc}${i}_day_of_week", "" ), ReadingsVal( $d, "${fc}${i}_condition", "" ), - ReadingsVal( $d, "${fc}${i}_temperature", " - " ) + ReadingsVal( $d, "${fc}${i}_temperature", " - " ), ReadingsVal( $d, "${fc}${i}_wind_condition", " - " ) ); }