Adapt to ColorUtil changes in core (#14724)
* [deconz][dmx][mqtt.generic][mqtt.homeassistant][tado][tradfri][webthing] Adapt to core change (ColorUtil) openhab/openhab-core#3479 Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -140,7 +140,7 @@ public class WebthingChannelLinkTest {
|
||||
performDataTypeMappingTest("targettemp_prop", 18.6, new DecimalType(18.6), 23.2, new DecimalType(23.2));
|
||||
performDataTypeMappingTest("open_prop", true, OpenClosedType.OPEN, false, OpenClosedType.CLOSED);
|
||||
performDataTypeMappingTest("colortemp_prop", 10, new PercentType(10), 60, new PercentType(60));
|
||||
performDataTypeMappingTest("color_prop", "#f2fe00", new HSBType("62,100,99"), "#ff0000",
|
||||
performDataTypeMappingTest("color_prop", "#f2fe00", new HSBType("63,100,100"), "#ff0000",
|
||||
new HSBType("0.0,100.0,100.0"));
|
||||
performDataTypeMappingTest("colormode_prop", "color", new StringType("color"), "temperature",
|
||||
new StringType("temperature"));
|
||||
|
||||
Reference in New Issue
Block a user