Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enocean] Standardize config URI #11009

Merged
merged 1 commit into from
Jul 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="enocean:genericChannel:config">
<config-description uri="channel-type:enocean:genericChannel">
<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="enocean:listeningRockerChannel:config">
<config-description uri="channel-type:enocean:listeningRockerChannel">
<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="enocean:virtualRockerChannel:config">
<config-description uri="channel-type:enocean:virtualRockerChannel">
<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="enocean:virtualRockerChannel:config"/>
<config-description-ref uri="channel-type:enocean:virtualRockerChannel"/>
</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="enocean:virtualRockerChannel:config"/>
<config-description-ref uri="channel-type:enocean:virtualRockerChannel"/>
</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="enocean:listeningRockerChannel:config"/>
<config-description-ref uri="channel-type:enocean:listeningRockerChannel"/>
</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="enocean:listeningRockerChannel:config"/>
<config-description-ref uri="channel-type:enocean:listeningRockerChannel"/>
</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="enocean:genericChannel:config"/>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
</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="enocean:genericChannel:config"/>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
</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="enocean:genericChannel:config"/>
<config-description-ref uri="channel-type:enocean:genericChannel"/>
</channel-type>

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

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

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

</thing:thing-descriptions>