patch-offline_status_startup_undefined #73
							
								
								
									
										2
									
								
								CHANGED
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								CHANGED
									
									
									
									
									
								
							@@ -1 +1 @@
 | 
			
		||||
    [enhancement] - delete unused scheuldes from readings
 | 
			
		||||
    [fix] - delete unused schedules
 | 
			
		||||
 
 | 
			
		||||
@@ -708,7 +708,7 @@ sub WriteReadings {
 | 
			
		||||
                    $hash,
 | 
			
		||||
                    $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                      . $propertie->{name},
 | 
			
		||||
                      (defined ($propertie->{value} ) eq '') ? RigReadingsValue( $hash, 'n/a') : RigReadingsValue( $hash, $propertie->{value} )
 | 
			
		||||
                      (defined ($propertie->{value} ) eq '') ? RigReadingsValue( $hash, 'n/a') : "".RigReadingsValue( $hash, $propertie->{value} ) # cast all data to string with ""
 | 
			
		||||
                  )
 | 
			
		||||
                  if ( exists( $propertie->{value} ) 
 | 
			
		||||
                    && $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
@@ -735,7 +735,7 @@ sub WriteReadings {
 | 
			
		||||
                    $hash,
 | 
			
		||||
                    $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                      . $propertie->{name},
 | 
			
		||||
                    RigReadingsValue( $hash, $propertie->{value} )
 | 
			
		||||
                    "".RigReadingsValue( $hash, $propertie->{value} )  # cast all data to string with ""
 | 
			
		||||
                  )
 | 
			
		||||
                  if (
 | 
			
		||||
                    defined( $propertie->{value} )
 | 
			
		||||
@@ -762,7 +762,7 @@ sub WriteReadings {
 | 
			
		||||
                    $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                      . $propertie->{name}
 | 
			
		||||
                      . '_timestamp',
 | 
			
		||||
                    Time::Piece->strptime(
 | 
			
		||||
                    "".Time::Piece->strptime(
 | 
			
		||||
                        RigReadingsValue( $hash, $propertie->{timestamp} ),
 | 
			
		||||
                        "%Y-%m-%d %H:%M:%S" )->strftime('%s')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2022-08-06_20:17:48 107633 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
UPD 2022-08-07_20:12:20 107711 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user