change readings age condition
This commit is contained in:
		@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2020-10-19_09:19:38 6100 FHEM/98_backupToStorage.pm
 | 
			
		||||
UPD 2020-10-19_15:27:39 15810 lib/FHEM/backupToStorage.pm
 | 
			
		||||
UPD 2020-10-19_19:31:51 15811 lib/FHEM/backupToStorage.pm
 | 
			
		||||
 
 | 
			
		||||
@@ -323,7 +323,7 @@ sub PushToStorage {
 | 
			
		||||
    Log3( $name, 4, "backupToStorage ($name) - push to storage function" );
 | 
			
		||||
    
 | 
			
		||||
    return
 | 
			
		||||
      if ( ReadingsAge($name,'fhemBackupFile',1) > 5 );
 | 
			
		||||
      if ( ReadingsAge($name,'fhemBackupFile',1) > 60 );
 | 
			
		||||
      
 | 
			
		||||
    Log3( $name, 4, "backupToStorage ($name) - after readings age return" );
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user