mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
fixed deprecated warning
git-svn-id: https://svn.fhem.de/fhem/trunk@3192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
66db096b60
commit
0749c37b2f
@ -166,7 +166,7 @@ LightScene_Set($@)
|
||||
} elsif( $cmd eq "set" ) {
|
||||
my ($d, @args) = @a;
|
||||
|
||||
if( !defined( $scene ) || !defined( $d ) || !defined( @args ) ) { return "Usage: set $name set <scene_name> <device> <cmd>" };
|
||||
if( !defined( $scene ) || !defined( $d ) || !@args ) { return "Usage: set $name set <scene_name> <device> <cmd>" };
|
||||
|
||||
if( defined($hash->{SCENES}{$scene})
|
||||
&& defined($hash->{SCENES}{$scene}{$d}) )
|
||||
|
Loading…
Reference in New Issue
Block a user