diff --git a/fhem/CHANGED b/fhem/CHANGED index 9640222b6..669eff200 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 available service APIs if available only - change: 49_SSCam / 49_SSCamSTRM: switch to packages, changes according PBP - bugfix: 73_AutoShuttersControl: fix commandref and bug in shading function change code diff --git a/fhem/FHEM/70_BRAVIA.pm b/fhem/FHEM/70_BRAVIA.pm index 08e134050..2769ee2f0 100644 --- a/fhem/FHEM/70_BRAVIA.pm +++ b/fhem/FHEM/70_BRAVIA.pm @@ -1348,7 +1348,8 @@ sub ProcessCommandData ($$$) { push(@$successor, ["getSystemInformation"]) if ( ReadingsVal($name, "name", "0") eq "0" || ReadingsVal($name, "model", "0") eq "0" ); push(@$successor, ["getSupportedApiInfo"]) - if ( !defined($hash->{helper}{services}) || scalar($hash->{helper}{services}) == 0 ); + if ( ReadingsVal( $name, "requestFormat", "" ) eq "json" && + (!defined($hash->{helper}{services}) || scalar($hash->{helper}{services}) == 0) ); # read content information if ( ReadingsVal($name, "generation", "1.0") ne "1.0" ) {