[deconz] make lightgroup switch off if brightness is set to 0 (#10729)

* Make lightgroup switch off lights if brightness is set to 0

Fixes #10320

Signed-off-by: Andres Meyer <andres@meyerfamily.ch>
This commit is contained in:
Andres Meyer 2021-05-22 08:16:14 +02:00 committed by GitHub
parent 27d5bb11c7
commit 096cd49b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,8 +129,8 @@ public class GroupThingHandler extends DeconzBaseThingHandler {
}
Integer bri = newGroupAction.bri;
if (bri != null && bri > 0) {
newGroupAction.on = true;
if (bri != null) {
newGroupAction.on = (bri > 0);
}
sendCommand(newGroupAction, command, channelUID, null);