mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
return nothing from set scene if none of the devices return anything
git-svn-id: https://svn.fhem.de/fhem/trunk@3210 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c742860c92
commit
d0e95a74d1
@ -233,7 +233,8 @@ LightScene_Set($@)
|
||||
|
||||
} elsif ( $cmd eq "scene" ) {
|
||||
$hash->{STATE} = $scene;
|
||||
$ret .= " ". CommandSet(undef,"$d $hash->{SCENES}{$scene}{$d}");
|
||||
$ret .= " " if( $ret );
|
||||
$ret .= CommandSet(undef,"$d $hash->{SCENES}{$scene}{$d}");
|
||||
} else {
|
||||
$ret = "Unknown argument $cmd, choose one of save scene";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user