patch-connect_problems #35

Merged
sebastianschwarz merged 18 commits from patch-connect_problems into devel 2021-06-28 16:39:22 +00:00
2 changed files with 3 additions and 6 deletions
Showing only changes of commit 48e526a627 - Show all commits

View File

@ -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) ) {

View File

@ -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