From 68da9c48144dc59d6bdaa45e3d0c94580da22046 Mon Sep 17 00:00:00 2001 From: Holger Friedrich Date: Tue, 20 Feb 2024 18:42:29 +0100 Subject: [PATCH] [knx] Add test for DPT 7.600 (#16433) Signed-off-by: Holger Friedrich Signed-off-by: Ciprian Pascu --- .../openhab/binding/knx/internal/itests/Back2BackTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/itests/Back2BackTest.java b/bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/itests/Back2BackTest.java index ae34945b8ff..00e12f857cb 100644 --- a/bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/itests/Back2BackTest.java +++ b/bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/itests/Back2BackTest.java @@ -408,6 +408,10 @@ public class Back2BackTest { helper("7.013", new byte[] { (byte) 0x00, (byte) 0x00 }, new QuantityType<>("0 lx")); helper("7.013", new byte[] { (byte) 0x00, (byte) 0xff }, new QuantityType<>("255 lx")); helper("7.013", new byte[] { (byte) 0xff, (byte) 0xff }, new QuantityType<>("65535 lx")); + + helper("7.600", new byte[] { (byte) 0x00, (byte) 0x00 }, new QuantityType<>("0 K")); + helper("7.600", new byte[] { (byte) 0x00, (byte) 0xff }, new QuantityType<>("255 K")); + helper("7.600", new byte[] { (byte) 0xff, (byte) 0xff }, new QuantityType<>("65535 K")); } @Test