[tplinksmarthome] Standardize config URI (#11015)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
57ac236318
commit
932e313397
@ -5,7 +5,7 @@
|
|||||||
xsi:schemaLocation="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">
|
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">
|
<parameter name="ipAddress" type="text">
|
||||||
<context>network-address</context>
|
<context>network-address</context>
|
||||||
<label>IP Address</label>
|
<label>IP Address</label>
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</config-description>
|
||||||
|
|
||||||
<config-description uri="thing-type:device:plug">
|
<config-description uri="thing-type:tplinksmarthome:device-plug">
|
||||||
<parameter name="ipAddress" type="text">
|
<parameter name="ipAddress" type="text">
|
||||||
<context>network-address</context>
|
<context>network-address</context>
|
||||||
<label>IP Address</label>
|
<label>IP Address</label>
|
||||||
@ -47,7 +47,7 @@
|
|||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</config-description>
|
||||||
|
|
||||||
<config-description uri="thing-type:device:switch">
|
<config-description uri="thing-type:tplinksmarthome:device-switch">
|
||||||
<parameter name="ipAddress" type="text">
|
<parameter name="ipAddress" type="text">
|
||||||
<context>network-address</context>
|
<context>network-address</context>
|
||||||
<label>IP Address</label>
|
<label>IP Address</label>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -21,6 +21,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -21,6 +21,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
|
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -16,6 +16,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -18,6 +18,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -21,6 +21,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -21,6 +21,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
|
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -21,6 +21,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -16,6 +16,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -16,6 +16,6 @@
|
|||||||
|
|
||||||
<representation-property>deviceId</representation-property>
|
<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-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user