mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
30_HUEBridge.pm: ignore non-lights for createGroupReadings calculation
git-svn-id: https://svn.fhem.de/fhem/trunk@18419 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b877c06c05
commit
7806004290
@ -1075,6 +1075,8 @@ HUEBridge_updateGroups($$)
|
||||
foreach my $light ( split(',', $chash->{lights}) ) {
|
||||
next if( !$light );
|
||||
my $current = $modules{HUEDevice}{defptr}{"$name-$light"}{helper};
|
||||
next if( !$current );
|
||||
next if( $current->{helper}{devtype} );
|
||||
|
||||
$readings{ct} += $current->{ct};
|
||||
$readings{bri} += $current->{bri};
|
||||
|
Loading…
x
Reference in New Issue
Block a user