From 3960011d283678c2ee52a83bdda5cd2dfae6e144 Mon Sep 17 00:00:00 2001 From: vuffiraa <> Date: Sun, 16 Jul 2023 16:04:59 +0000 Subject: [PATCH] 70_BRAVIA.pm: check state before renewing registration git-svn-id: https://svn.fhem.de/fhem/trunk@27771 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/70_BRAVIA.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index a511c1bb8..47c5deccf 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 70_BRAVIA: check state before renewing registration - bugfix: 38_netatmo: fixed login problems by updating to new auth method - change: 74_AutomowerConnect: Common.pm try to reconnect if ws is open but not ready, improve leaving path colorization if position polling is diff --git a/fhem/FHEM/70_BRAVIA.pm b/fhem/FHEM/70_BRAVIA.pm index 07553dc84..728fce456 100644 --- a/fhem/FHEM/70_BRAVIA.pm +++ b/fhem/FHEM/70_BRAVIA.pm @@ -791,7 +791,7 @@ sub SendCommand { my $return; my $requestFormat = ReadingsVal($name, "requestFormat", ""); - if ($service ne "register" && $service ne "getStatus") { + if ($service ne "register" && $service ne "getStatus" && ReadingsVal($name, "state", "") eq "on") { return if CheckRegistration($hash, $service, $cmd, $param, @successor); }