[upb] Standardize config URI (#11012)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
612ad18240
commit
65ed2a1fcc
@ -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="upb:device:address">
|
<config-description uri="thing-type:upb:device-address">
|
||||||
<parameter name="networkId" type="integer" min="0" max="255" required="false">
|
<parameter name="networkId" type="integer" min="0" max="255" required="false">
|
||||||
<label>Network ID</label>
|
<label>Network ID</label>
|
||||||
<description>The ID of the UPB network that the device belongs to</description>
|
<description>The ID of the UPB network that the device belongs to</description>
|
||||||
|
|||||||
@ -32,6 +32,6 @@
|
|||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="upb:device:address"/>
|
<config-description-ref uri="thing-type:upb:device-address"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
<channel id="dimmer" typeId="system.brightness"/>
|
<channel id="dimmer" typeId="system.brightness"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="upb:device:address"/>
|
<config-description-ref uri="thing-type:upb:device-address"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
|
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -23,6 +23,6 @@
|
|||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="upb:device:address"/>
|
<config-description-ref uri="thing-type:upb:device-address"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user