Skip to content

Commit

Permalink
[yeelight] Standardize config URI (openhab#11013)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
  • Loading branch information
lolodomo authored and dw-8 committed Jul 25, 2021
1 parent b804b8a commit a4ab2f8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
https://openhab.org/schemas/config-description-1.0.0.xsd">

<config-description uri="thing-type:device:base">
<config-description uri="thing-type:yeelight:device">
<parameter name="deviceId" type="text" required="true">
<label>Device ID</label>
<description>Id of the Yeelight device to connect with.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<channel id="nightlight" typeId="nightlight"/>
<channel id="command" typeId="command"/>
</channels>
<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<channel id="command" typeId="command"/>
</channels>

<config-description-ref uri="thing-type:device:base"/>
<config-description-ref uri="thing-type:yeelight:device"/>
</thing-type>
</thing:thing-descriptions>

0 comments on commit a4ab2f8

Please sign in to comment.