[deconz] fix brightness factor (#8956)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
parent
0722bd71f5
commit
4342bb1cb3
|
@ -131,5 +131,5 @@ public class BindingConstants {
|
|||
public static final double HUE_FACTOR = 65535 / 360.0;
|
||||
public static final int BRIGHTNESS_MIN = 0;
|
||||
public static final int BRIGHTNESS_MAX = 254;
|
||||
public static final double BRIGHTNESS_FACTOR = BRIGHTNESS_MAX / PercentType.HUNDRED.intValue();
|
||||
public static final double BRIGHTNESS_FACTOR = BRIGHTNESS_MAX / PercentType.HUNDRED.doubleValue();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue