From a95cbbcabacd8867e65ca72deccaea9f669e997b Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 26 Sep 2022 12:07:12 +0200 Subject: [PATCH] Fix HTTP 503 Unavailable message in encode_json [Ticket: none] --- controls_NukiSmart.txt | 4 ++-- lib/FHEM/Devices/Nuki/Bridge.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controls_NukiSmart.txt b/controls_NukiSmart.txt index 3093d08..c3dbd4c 100644 --- a/controls_NukiSmart.txt +++ b/controls_NukiSmart.txt @@ -1,4 +1,4 @@ UPD 2021-12-17_12:18:33 10358 FHEM/73_NUKIBridge.pm -UPD 2021-12-17_12:42:37 11100 FHEM/74_NUKIDevice.pm -UPD 2021-12-17_12:18:33 42761 lib/FHEM/Devices/Nuki/Bridge.pm +UPD 2021-12-17_12:44:59 11100 FHEM/74_NUKIDevice.pm +UPD 2022-09-26_11:59:12 42767 lib/FHEM/Devices/Nuki/Bridge.pm UPD 2021-12-17_12:18:33 16338 lib/FHEM/Devices/Nuki/Device.pm diff --git a/lib/FHEM/Devices/Nuki/Bridge.pm b/lib/FHEM/Devices/Nuki/Bridge.pm index 1991bf5..d8095a1 100644 --- a/lib/FHEM/Devices/Nuki/Bridge.pm +++ b/lib/FHEM/Devices/Nuki/Bridge.pm @@ -750,7 +750,7 @@ sub DistributionErrHandle2 { ::asyncOutput( $param->{cl}, "Request Error: $err\r\n" ) if ( $param->{cl} && $param->{cl}{canAsyncOutput} ); - return; + return $json; } ::readingsBulkUpdate( $hash, 'lastError',