From df89c03dc759fbed0728bac2b5543f066305807c Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 21 Jan 2019 08:49:38 +0100 Subject: [PATCH] add forecastLimit and forecast Attribut --- 59_Weather.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/59_Weather.pm b/59_Weather.pm index bd1e184..68c1f61 100755 --- a/59_Weather.pm +++ b/59_Weather.pm @@ -137,6 +137,8 @@ sub Weather_Initialize($) { $hash->{SetFn} = 'Weather_Set'; $hash->{AttrList} = 'disable:0,1 ' + . 'forecast:hourly,daily,any,off ' + . 'forecastLimit: ' . $readingFnAttributes; $hash->{NotifyFn}= 'Weather_Notify'; @@ -910,6 +912,8 @@ sub WeatherAsHtmlD($;$) { gemäß Plan doch es werden keine Daten vom API angefordert.
  • readingFnAttributes
  • +
  • forecast - Anzeige von forecast Daten. Alle, nur Stundenforecast, nur Tageforecast, keine.
  • +
  • forecastLimit - Anzahl der Forecast-Datensätze.