[upb] Standardize config URI (#11012)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-07-17 23:39:48 +02:00 committed by GitHub
parent 612ad18240
commit 65ed2a1fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>