From bf030621afdc091396656825ee4deb73af8ff226 Mon Sep 17 00:00:00 2001 From: Daniel Rosengarten Date: Fri, 12 Nov 2021 01:14:06 +0100 Subject: [PATCH] [velbus] Fix typo in the Counter Channel name for VMB7IN (#11521) (#11553) * [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug New functionnality : Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input. Module supported with button simulation : VMB1RYS (button : CH6) VMB6IN (buttons : CH1 ... CH6) VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8) VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32) Fix bug : The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module. Signed-off-by: Daniel Rosengarten * Update bundles/org.openhab.binding.velbus/README.md Co-authored-by: cedricboon Signed-off-by: Daniel Rosengarten * Update bundles/org.openhab.binding.velbus/README.md Co-authored-by: cedricboon Signed-off-by: Daniel Rosengarten * Update bundles/org.openhab.binding.velbus/README.md Co-authored-by: cedricboon Signed-off-by: Daniel Rosengarten * Add trigger on channel when using button simulation Remove uneeded Thread.sleep in code. Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation. Signed-off-by: Daniel Rosengarten * Fix redundant superinterface DiscoveryService Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService. Signed-off-by: Daniel Rosengarten * Fix bug #11521 Typo in the Counter Channel name for VMB7IN. Signed-off-by: Daniel Rosengarten Co-authored-by: cedricboon --- .../src/main/resources/OH-INF/thing/thing-types.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.velbus/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.velbus/src/main/resources/OH-INF/thing/thing-types.xml index e754617dfa740..a060ece8d5cf1 100644 --- a/bundles/org.openhab.binding.velbus/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.velbus/src/main/resources/OH-INF/thing/thing-types.xml @@ -1072,7 +1072,7 @@ - +