]> git.basschouten.com Git - openhab-addons.git/commitdiff
[knx] Add test for DPT 7.600 (#16433)
authorHolger Friedrich <mail@holger-friedrich.de>
Tue, 20 Feb 2024 17:42:29 +0000 (18:42 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 17:42:29 +0000 (18:42 +0100)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/itests/Back2BackTest.java

index ae34945b8ff584af2fa1beb516bdecd989a40be8..00e12f857cbbf23c2b9f79d26e67441baa61bcd0 100644 (file)
@@ -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