Skip to content

Commit

Permalink
[tplinksmarthome] Standardize config URI (openhab#11015)
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 2ae5123 commit 914fc04
Show file tree
Hide file tree
Showing 31 changed files with 33 additions and 33 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:bulb">
<config-description uri="thing-type:tplinksmarthome:device-bulb">
<parameter name="ipAddress" type="text">
<context>network-address</context>
<label>IP Address</label>
Expand All @@ -29,7 +29,7 @@
</parameter>
</config-description>

<config-description uri="thing-type:device:plug">
<config-description uri="thing-type:tplinksmarthome:device-plug">
<parameter name="ipAddress" type="text">
<context>network-address</context>
<label>IP Address</label>
Expand All @@ -47,7 +47,7 @@
</parameter>
</config-description>

<config-description uri="thing-type:device:switch">
<config-description uri="thing-type:tplinksmarthome:device-switch">
<parameter name="ipAddress" type="text">
<context>network-address</context>
<label>IP Address</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:switch"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-switch"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:switch"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-switch"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:switch"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-switch"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>

</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:bulb"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-bulb"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

<representation-property>deviceId</representation-property>

<config-description-ref uri="thing-type:device:plug"/>
<config-description-ref uri="thing-type:tplinksmarthome:device-plug"/>
</thing-type>
</thing:thing-descriptions>

0 comments on commit 914fc04

Please sign in to comment.