change codestyle
This commit is contained in:
@ -512,7 +512,8 @@ sub GetUpdate($) {
|
|||||||
elsif ( AttrVal( $bname, 'fhemServerIP', 'not set' ) ne 'not set' ) {
|
elsif ( AttrVal( $bname, 'fhemServerIP', 'not set' ) ne 'not set' ) {
|
||||||
|
|
||||||
Log3( $name, 1,
|
Log3( $name, 1,
|
||||||
"AMADDevice ($name) - GetUpdate, attribut fhemServerIP not set in bridge device" );
|
"AMADDevice ($name) - GetUpdate, attribut fhemServerIP not set in bridge device"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
@ -824,12 +825,8 @@ sub Set($$@) {
|
|||||||
elsif ( lc $cmd eq 'openapp' ) {
|
elsif ( lc $cmd eq 'openapp' ) {
|
||||||
my ( $app, $appclass ) = split( /\|/, $args[0] );
|
my ( $app, $appclass ) = split( /\|/, $args[0] );
|
||||||
|
|
||||||
$path .=
|
$path .= 'openApp?app=' . $app;
|
||||||
'openApp?app='
|
$path .= '&appclass=' . $appclass
|
||||||
. $app;
|
|
||||||
$path .=
|
|
||||||
'&appclass='
|
|
||||||
. $appclass
|
|
||||||
if ( defined($appclass) );
|
if ( defined($appclass) );
|
||||||
|
|
||||||
$method = 'POST';
|
$method = 'POST';
|
||||||
|
Reference in New Issue
Block a user