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