change age value for condition
This commit is contained in:
		@@ -179,7 +179,7 @@ sub backupToStorage_Initialize {
 | 
			
		||||
  ],
 | 
			
		||||
  "release_status": "devepolment",
 | 
			
		||||
  "license": "GPL_2",
 | 
			
		||||
  "version": "v1.2.2",
 | 
			
		||||
  "version": "v1.2.3",
 | 
			
		||||
  "author": [
 | 
			
		||||
    "Marko Oldenburg <fhemsupport@cooltux.net>"
 | 
			
		||||
  ],
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2020-11-03_13:20:01 6242 FHEM/98_backupToStorage.pm
 | 
			
		||||
UPD 2020-11-03_13:44:41 18943 lib/FHEM/backupToStorage.pm
 | 
			
		||||
UPD 2020-11-06_11:03:04 6242 FHEM/98_backupToStorage.pm
 | 
			
		||||
UPD 2020-11-06_11:03:07 18956 lib/FHEM/backupToStorage.pm
 | 
			
		||||
 
 | 
			
		||||
@@ -395,7 +395,7 @@ sub PushToStorage {
 | 
			
		||||
    Log3( $name, 4, "backupToStorage ($name) - push to storage function" );
 | 
			
		||||
    
 | 
			
		||||
    return
 | 
			
		||||
      if ( ReadingsAge($name,'fhemBackupFile',1) > 60 );
 | 
			
		||||
      if ( ReadingsAge($name,'fhemBackupFile',1) > 180 );
 | 
			
		||||
      
 | 
			
		||||
    Log3( $name, 4, "backupToStorage ($name) - after readings age return" );
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user