mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
70_BRAVIA: check available service APIs if available only
git-svn-id: https://svn.fhem.de/fhem/trunk@22330 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cb2e5d217f
commit
f521f29eaf
@ -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
|
||||
|
@ -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" ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user