[nikobus] Standardize config URI (#11011)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-07-17 23:39:09 +02:00 committed by GitHub
parent 63b2377712
commit 612ad18240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="push-button:trigger-filter:config">
<config-description uri="channel-type:nikobus:trigger-filter">
<parameter name="command" type="text">
<label>Command</label>
<description>Command to send</description>
@ -20,7 +20,7 @@
</parameter>
</config-description>
<config-description uri="push-button:trigger-button:config">
<config-description uri="channel-type:nikobus:trigger-button">
<parameter name="threshold" type="integer" min="0" unit="ms">
<label>Threshold</label>
<description>Long-press threshold in milliseconds</description>
@ -28,14 +28,14 @@
</parameter>
</config-description>
<config-description uri="module:address:config">
<config-description uri="thing-type:nikobus:module">
<parameter name="address" type="text" required="true">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>
<config-description uri="rollershutter-module:rollershutter-output:config">
<config-description uri="channel-type:nikobus:rollershutter-output">
<parameter name="duration" type="integer" min="1" unit="s">
<label>Duration</label>
<description>Duration in seconds required for a rollershutter to get from open to closed</description>

View File

@ -51,7 +51,7 @@
</channel>
</channels>
<config-description-ref uri="module:address:config"/>
<config-description-ref uri="thing-type:nikobus:module"/>
</thing-type>
<channel-type id="dimmer-output">

View File

@ -38,7 +38,7 @@
<kind>trigger</kind>
<label>Trigger Filter Channel</label>
<event/>
<config-description-ref uri="push-button:trigger-filter:config"/>
<config-description-ref uri="channel-type:nikobus:trigger-filter"/>
</channel-type>
<channel-type id="trigger-button">
@ -50,7 +50,7 @@
<option value="LONG_PRESSED">long pressed</option>
</options>
</event>
<config-description-ref uri="push-button:trigger-button:config"/>
<config-description-ref uri="channel-type:nikobus:trigger-button"/>
</channel-type>
</thing:thing-descriptions>

View File

@ -33,14 +33,14 @@
</channel>
</channels>
<config-description-ref uri="module:address:config"/>
<config-description-ref uri="thing-type:nikobus:module"/>
</thing-type>
<channel-type id="rollershutter-output">
<item-type>Rollershutter</item-type>
<label>Output</label>
<description>Rollershutter Module's Output</description>
<config-description-ref uri="rollershutter-module:rollershutter-output:config"/>
<config-description-ref uri="channel-type:nikobus:rollershutter-output"/>
</channel-type>
</thing:thing-descriptions>

View File

@ -51,7 +51,7 @@
</channel>
</channels>
<config-description-ref uri="module:address:config"/>
<config-description-ref uri="thing-type:nikobus:module"/>
</thing-type>
<channel-type id="switch-output">