devel #40
@@ -515,7 +515,7 @@ sub ErrorHandling {
 | 
			
		||||
    my $name  = $hash->{NAME};
 | 
			
		||||
    my $dhash = $hash;
 | 
			
		||||
 | 
			
		||||
    $dhash = $modules{GardenaSmartDevice}{defptr}{ $param->{'device_id'} };
 | 
			
		||||
    $dhash = $modules{GardenaSmartDevice}{defptr}{ $param->{'device_id'} }
 | 
			
		||||
      if ( defined( $param->{'device_id'} ) );
 | 
			
		||||
 | 
			
		||||
    my $dname = $dhash->{NAME};
 | 
			
		||||
@@ -534,8 +534,6 @@ sub ErrorHandling {
 | 
			
		||||
            readingsBulkUpdate( $dhash, "state", "$err" )
 | 
			
		||||
              if ( ReadingsVal( $dname, "state", 1 ) ne "initialized" );
 | 
			
		||||
 | 
			
		||||
Log3 $name, 1, "[DEBUG] - Teufelchen 2: ".$decode_json;
 | 
			
		||||
 | 
			
		||||
            readingsBulkUpdate( $dhash, "lastRequestState", "request_error",
 | 
			
		||||
                1 );
 | 
			
		||||
 | 
			
		||||
@@ -985,8 +983,7 @@ sub getDevices {
 | 
			
		||||
    my $hash = shift;
 | 
			
		||||
 | 
			
		||||
    my $name = $hash->{NAME};
 | 
			
		||||
    
 | 
			
		||||
    RemoveInternalTimer($hash);  
 | 
			
		||||
    RemoveInternalTimer($hash);
 | 
			
		||||
 | 
			
		||||
    if ( not IsDisabled($name) ) {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2021-06-28_10:26:27 47074 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2021-06-28_10:47:43 47009 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2021-06-09_09:52:26 55505 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user