add internal MODEL for statistic
This commit is contained in:
parent
d25f5403fb
commit
21081697d6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user