Skip to content

Commit

Permalink
Revert "[enocean] Standardize config URI (openhab#11009)"
Browse files Browse the repository at this point in the history
This reverts commit 75ebce4.

Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
  • Loading branch information
dw-8 committed Jul 25, 2021
1 parent 125ce96 commit d454169
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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:enocean:genericChannel">
<config-description uri="enocean:genericChannel:config">
<parameter name="transformationType" type="text" required="true">
<label>Transformation Type</label>
<description>The type of the transformation, e.g. "MAP"</description>
Expand All @@ -15,7 +15,7 @@
</parameter>
</config-description>

<config-description uri="channel-type:enocean:listeningRockerChannel">
<config-description uri="enocean:listeningRockerChannel:config">
<parameter name="enoceanId" type="text">
<label>EnOceanId</label>
<description>EnOcean Id to listen to</description>
Expand All @@ -40,7 +40,7 @@
</parameter>
</config-description>

<config-description uri="channel-type:enocean:virtualRockerChannel">
<config-description uri="enocean:virtualRockerChannel:config">
<parameter name="duration" type="integer" unit="ms">
<label>Time Between Press and Release Message</label>
<default>250</default>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
<item-type>Switch</item-type>
<label>Rocker Switch</label>
<description>The virtual rocker switch channel allows to send rocker msg.</description>
<config-description-ref uri="channel-type:enocean:virtualRockerChannel"/>
<config-description-ref uri="enocean:virtualRockerChannel:config"/>
</channel-type>

<!-- virtual rocker switch channel -->
<channel-type id="virtualRollershutterA">
<item-type>Rollershutter</item-type>
<label>Rollershutter</label>
<description>This channels allows to control a rollershutter through rocker msg.</description>
<config-description-ref uri="channel-type:enocean:virtualRockerChannel"/>
<config-description-ref uri="enocean:virtualRockerChannel:config"/>
</channel-type>

<!-- virtual rocker switch channel -->
Expand All @@ -90,14 +90,14 @@
<channel-type id="rockerswitchListenerSwitch">
<item-type>Switch</item-type>
<label>Rocker Switch Listener (Switch)</label>
<config-description-ref uri="channel-type:enocean:listeningRockerChannel"/>
<config-description-ref uri="enocean:listeningRockerChannel:config"/>
</channel-type>

<!-- rocker switch listener channel -->
<channel-type id="rockerswitchListenerRollershutter">
<item-type>Rollershutter</item-type>
<label>Rocker Switch Listener (Rollershutter)</label>
<config-description-ref uri="channel-type:enocean:listeningRockerChannel"/>
<config-description-ref uri="enocean:listeningRockerChannel:config"/>
</channel-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<label>Switch</label>
<description>The switch channel allows to switch something on and off.</description>
<category>Switch</category>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<!-- Rollershutter Channel with transformation configuration -->
Expand All @@ -19,7 +19,7 @@
<label>Rollershutter</label>
<description>Rollershutter</description>
<category>Blinds</category>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<!-- Dimmer Channel with transformation configuration -->
Expand All @@ -28,26 +28,26 @@
<label>Dimmer</label>
<description>Dimmer</description>
<category>DimmableLight</category>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<channel-type id="genericNumber">
<item-type>Number</item-type>
<label>Number</label>
<description>Number</description>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<channel-type id="genericString">
<item-type>String</item-type>
<label>String</label>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<channel-type id="genericColor">
<item-type>Color</item-type>
<label>Color</label>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

<!-- generic Teach in Channel -->
Expand All @@ -56,7 +56,7 @@
<label>Teach In</label>
<description>The teach in channel allows to send a teach in msg.</description>
<category>Switch</category>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
<config-description-ref uri="enocean:genericChannel:config"/>
</channel-type>

</thing:thing-descriptions>

0 comments on commit d454169

Please sign in to comment.