31_LightScene.pm: ignore empty scenes for followDevices
git-svn-id: https://svn.fhem.de/fhem/trunk@7866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -291,7 +291,7 @@ LightScene_Notify($$)
|
||||
|
||||
my $matched = 0;
|
||||
foreach my $scene (sort keys %{ $hash->{SCENES} }) {
|
||||
$matched = 1;
|
||||
$matched = (scalar keys %{ $hash->{SCENES}{$scene} } > 0)?1:0;
|
||||
foreach my $d (sort keys %{ $hash->{SCENES}{$scene} }) {
|
||||
next if( !defined($hash->{SCENES}{$scene}{$d}));
|
||||
next if(!$defs{$d});
|
||||
|
||||
Reference in New Issue
Block a user