59_Weather: add Internal MODEL for statistic

git-svn-id: https://svn.fhem.de/fhem/trunk@18325 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
CoolTux
2019-01-18 20:09:51 +00:00
parent 949fb74da8
commit 6295f0bda0
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- change: 59_Weather: add Internal MODEL for statistic
- feature: 70_BRAVIA: new set command openUrl
- bugfix: 59_Weather: fix change attribut model
- bugfix: 98_livetracking: fixed initial Life360 data availability

View File

@@ -432,6 +432,7 @@ sub Weather_Define($$) {
$hash->{INTERVAL} = $interval;
$hash->{LANG} = ( (defined($lang) and $lang) ? $lang : lc(AttrVal('global','language','de')) );
$hash->{API} = $api;
$hash->{MODEL} = $api;
$hash->{APIKEY} = $apikey;
$hash->{APIOPTIONS} = $apioptions;
$hash->{READINGS}->{current_date_time}->{TIME}= TimeNow();