31_HUEDevice.pm: scenes fix

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

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}) {