2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-26 04:24:53 +00:00

70_BRAVIA.pm: check state before renewing registration

git-svn-id: https://svn.fhem.de/fhem/trunk@27771 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
vuffiraa 2023-07-16 16:04:59 +00:00
parent c9360aac6b
commit 3960011d28
2 changed files with 2 additions and 1 deletions

@ -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

@ -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);
}