[nikobus] Standardize config URI (#11011)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
63b2377712
commit
612ad18240
@ -4,7 +4,7 @@
|
|||||||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
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">
|
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">
|
<parameter name="command" type="text">
|
||||||
<label>Command</label>
|
<label>Command</label>
|
||||||
<description>Command to send</description>
|
<description>Command to send</description>
|
||||||
@ -20,7 +20,7 @@
|
|||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</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">
|
<parameter name="threshold" type="integer" min="0" unit="ms">
|
||||||
<label>Threshold</label>
|
<label>Threshold</label>
|
||||||
<description>Long-press threshold in milliseconds</description>
|
<description>Long-press threshold in milliseconds</description>
|
||||||
@ -28,14 +28,14 @@
|
|||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</config-description>
|
||||||
|
|
||||||
<config-description uri="module:address:config">
|
<config-description uri="thing-type:nikobus:module">
|
||||||
<parameter name="address" type="text" required="true">
|
<parameter name="address" type="text" required="true">
|
||||||
<label>Address</label>
|
<label>Address</label>
|
||||||
<description>The Nikobus address of the module</description>
|
<description>The Nikobus address of the module</description>
|
||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</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">
|
<parameter name="duration" type="integer" min="1" unit="s">
|
||||||
<label>Duration</label>
|
<label>Duration</label>
|
||||||
<description>Duration in seconds required for a rollershutter to get from open to closed</description>
|
<description>Duration in seconds required for a rollershutter to get from open to closed</description>
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="module:address:config"/>
|
<config-description-ref uri="thing-type:nikobus:module"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
|
|
||||||
<channel-type id="dimmer-output">
|
<channel-type id="dimmer-output">
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
<kind>trigger</kind>
|
<kind>trigger</kind>
|
||||||
<label>Trigger Filter Channel</label>
|
<label>Trigger Filter Channel</label>
|
||||||
<event/>
|
<event/>
|
||||||
<config-description-ref uri="push-button:trigger-filter:config"/>
|
<config-description-ref uri="channel-type:nikobus:trigger-filter"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
<channel-type id="trigger-button">
|
<channel-type id="trigger-button">
|
||||||
@ -50,7 +50,7 @@
|
|||||||
<option value="LONG_PRESSED">long pressed</option>
|
<option value="LONG_PRESSED">long pressed</option>
|
||||||
</options>
|
</options>
|
||||||
</event>
|
</event>
|
||||||
<config-description-ref uri="push-button:trigger-button:config"/>
|
<config-description-ref uri="channel-type:nikobus:trigger-button"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -33,14 +33,14 @@
|
|||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="module:address:config"/>
|
<config-description-ref uri="thing-type:nikobus:module"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
|
|
||||||
<channel-type id="rollershutter-output">
|
<channel-type id="rollershutter-output">
|
||||||
<item-type>Rollershutter</item-type>
|
<item-type>Rollershutter</item-type>
|
||||||
<label>Output</label>
|
<label>Output</label>
|
||||||
<description>Rollershutter Module's Output</description>
|
<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>
|
</channel-type>
|
||||||
|
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="module:address:config"/>
|
<config-description-ref uri="thing-type:nikobus:module"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
|
|
||||||
<channel-type id="switch-output">
|
<channel-type id="switch-output">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user