add forecastLimit and forecast Attribut

This commit is contained in:
Marko Oldenburg
2019-01-21 08:49:38 +01:00
parent 21081697d6
commit df89c03dc7

View File

@ -137,6 +137,8 @@ sub Weather_Initialize($) {
$hash->{SetFn} = 'Weather_Set'; $hash->{SetFn} = 'Weather_Set';
$hash->{AttrList} = $hash->{AttrList} =
'disable:0,1 ' 'disable:0,1 '
. 'forecast:hourly,daily,any,off '
. 'forecastLimit: '
. $readingFnAttributes; . $readingFnAttributes;
$hash->{NotifyFn}= 'Weather_Notify'; $hash->{NotifyFn}= 'Weather_Notify';
@ -910,6 +912,8 @@ sub WeatherAsHtmlD($;$) {
gemä&szlig Plan doch es werden keine Daten vom gemä&szlig Plan doch es werden keine Daten vom
API angefordert.</li> API angefordert.</li>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li>forecast - Anzeige von forecast Daten. Alle, nur Stundenforecast, nur Tageforecast, keine.</li>
<li>forecastLimit - Anzahl der Forecast-Datens&auml;tze.</li>
</ul> </ul>
<br> <br>
</ul> </ul>