]> git.basschouten.com Git - openhab-addons.git/commitdiff
[velbus] Fix typo in the Counter Channel name for VMB7IN (#11521) (#11553)
authorDaniel Rosengarten <github@praetorians.be>
Fri, 12 Nov 2021 00:14:06 +0000 (01:14 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Nov 2021 00:14:06 +0000 (01:14 +0100)
* [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 <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* 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 <github@praetorians.be>
* Fix redundant superinterface DiscoveryService

Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
bundles/org.openhab.binding.velbus/src/main/resources/OH-INF/thing/thing-types.xml

index e754617dfa740f60181d633ea3f5bd6a2b42046f..a060ece8d5cf124a3c4f153a76e8d340dce46417 100644 (file)
                <channels>
                        <channel id="counter1" typeId="counter"/>
                        <channel id="counter1Current" typeId="counter"/>
-                       <channel id="counter" typeId="counter"/>
+                       <channel id="counter2" typeId="counter"/>
                        <channel id="counter2Current" typeId="counter"/>
                        <channel id="counter3" typeId="counter"/>
                        <channel id="counter3Current" typeId="counter"/>