]> git.basschouten.com Git - openhab-addons.git/commitdiff
[linuxinput] use correct channelTypeUID for key-press channels (#10742)
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 23 May 2021 19:08:56 +0000 (21:08 +0200)
committerGitHub <noreply@github.com>
Sun, 23 May 2021 19:08:56 +0000 (21:08 +0200)
Previously there was a mismatch between the UIDs used by the handler and
the one actually registered from the XML-file.
This lead to channels not showing up in the UI.
(See https://github.com/openhab/openhab-webui/issues/406 )

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
bundles/org.openhab.binding.linuxinput/src/main/resources/OH-INF/thing/thing-types.xml

index b27e32f5f0106c424916cd59fc634c3aa6278f17..5620a0dec47261a69076bbad979d7db7e14443f9 100644 (file)
@@ -30,7 +30,7 @@
                <state readOnly="true"/>
        </channel-type>
 
-       <channel-type id="keypress">
+       <channel-type id="key-press">
                <item-type>Contact</item-type>
                <label>Key Pressed</label>
                <state readOnly="true"/>