This commit is contained in:
Sebastian 2021-06-28 10:47:51 +02:00
parent 113dec6551
commit 48e526a627
2 changed files with 3 additions and 6 deletions

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