From bf70f2ffec7c557c8fb81cb2dea72b93738d4402 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 10 Mar 2021 18:38:30 +0100 Subject: [PATCH] fix little bug --- FHEM/73_GardenaSmartBridge.pm | 11 +++++------ controls_GardenaSmartDevice.txt | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/FHEM/73_GardenaSmartBridge.pm b/FHEM/73_GardenaSmartBridge.pm index 5af77f0..22e3131 100644 --- a/FHEM/73_GardenaSmartBridge.pm +++ b/FHEM/73_GardenaSmartBridge.pm @@ -791,15 +791,14 @@ sub ResponseProcessing { . " Tail: " . $tail; } - elsif ( defined($decode_json->{message}) - && $decode_json->{message} ) - { - - WriteReadings( $hash, $decode_json ); - } return; } + elsif ( defined($decode_json->{message}) + && $decode_json->{message} ) + { + WriteReadings( $hash, $decode_json ); + } Log3 $name, 3, "GardenaSmartBridge ($name) - no Match for processing data"; diff --git a/controls_GardenaSmartDevice.txt b/controls_GardenaSmartDevice.txt index 8715d1e..888a35a 100644 --- a/controls_GardenaSmartDevice.txt +++ b/controls_GardenaSmartDevice.txt @@ -1,2 +1,2 @@ -UPD 2021-03-10_18:32:20 43098 FHEM/73_GardenaSmartBridge.pm +UPD 2021-03-10_18:38:26 43072 FHEM/73_GardenaSmartBridge.pm UPD 2020-05-01_22:05:14 45622 FHEM/74_GardenaSmartDevice.pm