fix little merge bug
This commit is contained in:
parent
04282a3720
commit
d958bc7b89
@ -708,14 +708,6 @@ sub AMADDevice_Set($$@) {
|
|||||||
$method = "POST";
|
$method = "POST";
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif( lc $cmd eq 'takepicture' ) {
|
|
||||||
|
|
||||||
return "Please set \"setTakePictureResolution\" Attribut first"
|
|
||||||
unless(AttrVal($name,'setTakePictureResolution','none') ne 'none');
|
|
||||||
$uri = $host . ":" . $port . "/fhem-amad/setCommands/takepicture?pictureresolution=" . AttrVal($name,'setTakePictureResolution','none');
|
|
||||||
$method = "POST";
|
|
||||||
}
|
|
||||||
|
|
||||||
elsif( lc $cmd eq 'sendintent' ) {
|
elsif( lc $cmd eq 'sendintent' ) {
|
||||||
my $intentstring = join( " ", @args );
|
my $intentstring = join( " ", @args );
|
||||||
my ( $action, $exkey1, $exval1, $exkey2, $exval2 ) = split( "[ \t][ \t]*", $intentstring );
|
my ( $action, $exkey1, $exval1, $exkey2, $exval2 ) = split( "[ \t][ \t]*", $intentstring );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user