Skip to content

Commit

Permalink
Revert "[nikobus] Standardize config URI (openhab#11011)"
Browse files Browse the repository at this point in the history
This reverts commit b9483a8.
  • Loading branch information
dw-8 committed Jul 25, 2021
1 parent e90a3d1 commit c2f620a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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="channel-type:nikobus:trigger-filter">
<config-description uri="push-button:trigger-filter:config">
<parameter name="command" type="text">
<label>Command</label>
<description>Command to send</description>
Expand All @@ -20,22 +20,22 @@
</parameter>
</config-description>

<config-description uri="channel-type:nikobus:trigger-button">
<config-description uri="push-button:trigger-button:config">
<parameter name="threshold" type="integer" min="0" unit="ms">
<label>Threshold</label>
<description>Long-press threshold in milliseconds</description>
<default>1000</default>
</parameter>
</config-description>

<config-description uri="thing-type:nikobus:module">
<config-description uri="module:address:config">
<parameter name="address" type="text" required="true">
<label>Address</label>
<description>The Nikobus address of the module</description>
</parameter>
</config-description>

<config-description uri="channel-type:nikobus:rollershutter-output">
<config-description uri="rollershutter-module:rollershutter-output:config">
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</channel>
</channels>

<config-description-ref uri="thing-type:nikobus:module"/>
<config-description-ref uri="module:address:config"/>
</thing-type>

<channel-type id="dimmer-output">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<kind>trigger</kind>
<label>Trigger Filter Channel</label>
<event/>
<config-description-ref uri="channel-type:nikobus:trigger-filter"/>
<config-description-ref uri="push-button:trigger-filter:config"/>
</channel-type>

<channel-type id="trigger-button">
Expand All @@ -50,7 +50,7 @@
<option value="LONG_PRESSED">long pressed</option>
</options>
</event>
<config-description-ref uri="channel-type:nikobus:trigger-button"/>
<config-description-ref uri="push-button:trigger-button:config"/>
</channel-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
</channel>
</channels>

<config-description-ref uri="thing-type:nikobus:module"/>
<config-description-ref uri="module:address:config"/>
</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="channel-type:nikobus:rollershutter-output"/>
<config-description-ref uri="rollershutter-module:rollershutter-output:config"/>
</channel-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</channel>
</channels>

<config-description-ref uri="thing-type:nikobus:module"/>
<config-description-ref uri="module:address:config"/>
</thing-type>

<channel-type id="switch-output">
Expand Down

0 comments on commit c2f620a

Please sign in to comment.