31_HUEDevice.pm: scenes fix

git-svn-id: https://svn.fhem.de/fhem/trunk@20689 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2019-12-08 16:17:56 +00:00
parent bd38ac8996
commit ab89260a43

View File

@@ -999,7 +999,7 @@ HUEDevice_Set($@)
}
}
if( $hash->{IODev} && defined($hash->{IODev}{modelid}) && $hash->{IODev}{modelid} ne 'deCONZ' ) {
if( $hash->{IODev} && defined($hash->{IODev}{modelid}) && $hash->{IODev}{modelid} eq 'deCONZ' ) {
if( my $scenes = $hash->{helper}{scenes} ) {
my @names;
for my $scene (@{$scenes}) {