devel #40
@@ -653,6 +653,21 @@ sub WriteReadings {
 | 
			
		||||
                        || $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                        . $propertie->{name} eq 'light-light' )
 | 
			
		||||
                  );
 | 
			
		||||
                  
 | 
			
		||||
                readingsBulkUpdateIfChanged(
 | 
			
		||||
                    $hash,
 | 
			
		||||
                    $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                      . $propertie->{name} 
 | 
			
		||||
                      . '_timestamp',
 | 
			
		||||
                      Time::Piece->strptime(RigReadingsValue( $hash, $propertie->{timestamp} ), "%Y-%m-%d %H:%M:%S")->strftime('%s')
 | 
			
		||||
                      
 | 
			
		||||
                  )
 | 
			
		||||
                  if (
 | 
			
		||||
                    defined( $propertie->{value} ) 
 | 
			
		||||
                    && (  $decode_json->{abilities}[$abilities]{name} . '-'
 | 
			
		||||
                        . $propertie->{name} eq 'mower_timer-mower_timer'
 | 
			
		||||
                  )
 | 
			
		||||
                );
 | 
			
		||||
 | 
			
		||||
                readingsBulkUpdateIfChanged(
 | 
			
		||||
                    $hash,
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2021-06-28_10:47:43 47009 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2021-06-09_09:52:26 55505 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
UPD 2021-06-28_15:56:58 47009 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2021-06-28_20:08:52 56188 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user