diff --git a/FHEM/73_GardenaSmartBridge.pm b/FHEM/73_GardenaSmartBridge.pm index b4351ba..6e3b977 100644 --- a/FHEM/73_GardenaSmartBridge.pm +++ b/FHEM/73_GardenaSmartBridge.pm @@ -901,7 +901,10 @@ sub PollChild { my $subprocess = $hash->{".fhem"}{subprocess}; my @response = $subprocess->readFromChild(); - if ( !defined(@response) ) { + Log3 $name, 3, + "GardenaSmartBridge ($name) - Response ist: " . Dumper $response; + + if ( scalar(@response) == 0 ) { Log3( $name, 5, qq{GardenaSmartBridge ($name) - still waiting ($subprocess->{lasterror}).} ); diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 54905ea..8f94b7c 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ -UPD 2022-02-01_11:52:56 49880 FHEM/73_GardenaSmartBridge.pm +UPD 2022-02-01_12:42:22 49983 FHEM/73_GardenaSmartBridge.pm UPD 2022-01-31_19:35:42 56993 FHEM/74_GardenaSmartDevice.pm