Skip to content

Commit 7d5f01e

Browse files
committed
color temperature is in mireds, not Kelvin
1 parent de0d4fa commit 7d5f01e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/hapjava/characteristics/impl/lightbulb/ColorTemperatureCharacteristic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.util.function.Consumer;
1010
import java.util.function.Supplier;
1111

12-
/** This characteristic describes color temperature in Kelvin */
12+
/** This characteristic describes color temperature in mireds */
1313
public class ColorTemperatureCharacteristic extends IntegerCharacteristic
1414
implements EventableCharacteristic {
1515
public static final int DEFAULT_MIN_VALUE = 50;
@@ -27,7 +27,7 @@ public ColorTemperatureCharacteristic(
2727
"color temperature",
2828
minValue,
2929
maxValue,
30-
"K",
30+
"mired",
3131
Optional.of(getter),
3232
Optional.of(setter),
3333
Optional.of(subscriber),

0 commit comments

Comments
 (0)