use ne instead of != for strings ...
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5149 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -718,7 +718,7 @@ HUEDevice_GetUpdate($)
|
||||
readingsEndUpdate($hash,defined($hash->{LOCAL} ? 0 : 1));
|
||||
|
||||
my $RGB = CommandGet("","$name rgb");
|
||||
CommandTrigger( "", "$name RGB: $RGB" ) if( $RGB != $hash->{helper}{RGB} );
|
||||
CommandTrigger( "", "$name RGB: $RGB" ) if( $RGB ne $hash->{helper}{RGB} );
|
||||
$hash->{helper}{RGB} = $RGB;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user