LightScene: possible fix for forum #27678

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6704 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-10-07 17:03:35 +00:00
parent 5966b94e2d
commit d4adf91ef0

View File

@@ -299,7 +299,7 @@ LightScene_Notify($$)
if( ref($state) eq 'ARRAY' ) {
$matched = 0;
} elsif( $state ne $s{$d} ) {
} elsif( !defined($s{$d}) || $state ne $s{$d} ) {
$matched = 0;
}