fixup
This commit is contained in:
parent
113dec6551
commit
48e526a627
@ -515,7 +515,7 @@ sub ErrorHandling {
|
|||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
my $dhash = $hash;
|
my $dhash = $hash;
|
||||||
|
|
||||||
$dhash = $modules{GardenaSmartDevice}{defptr}{ $param->{'device_id'} };
|
$dhash = $modules{GardenaSmartDevice}{defptr}{ $param->{'device_id'} }
|
||||||
if ( defined( $param->{'device_id'} ) );
|
if ( defined( $param->{'device_id'} ) );
|
||||||
|
|
||||||
my $dname = $dhash->{NAME};
|
my $dname = $dhash->{NAME};
|
||||||
@ -534,8 +534,6 @@ sub ErrorHandling {
|
|||||||
readingsBulkUpdate( $dhash, "state", "$err" )
|
readingsBulkUpdate( $dhash, "state", "$err" )
|
||||||
if ( ReadingsVal( $dname, "state", 1 ) ne "initialized" );
|
if ( ReadingsVal( $dname, "state", 1 ) ne "initialized" );
|
||||||
|
|
||||||
Log3 $name, 1, "[DEBUG] - Teufelchen 2: ".$decode_json;
|
|
||||||
|
|
||||||
readingsBulkUpdate( $dhash, "lastRequestState", "request_error",
|
readingsBulkUpdate( $dhash, "lastRequestState", "request_error",
|
||||||
1 );
|
1 );
|
||||||
|
|
||||||
@ -985,7 +983,6 @@ sub getDevices {
|
|||||||
my $hash = shift;
|
my $hash = shift;
|
||||||
|
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
|
||||||
RemoveInternalTimer($hash);
|
RemoveInternalTimer($hash);
|
||||||
|
|
||||||
if ( not IsDisabled($name) ) {
|
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
|
UPD 2021-06-09_09:52:26 55505 FHEM/74_GardenaSmartDevice.pm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user