[yeelight] Standardize config URI (#11013)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
65ed2a1fcc
commit
8c8b3b2e2c
@ -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:base">
|
<config-description uri="thing-type:yeelight:device">
|
||||||
<parameter name="deviceId" type="text" required="true">
|
<parameter name="deviceId" type="text" required="true">
|
||||||
<label>Device ID</label>
|
<label>Device ID</label>
|
||||||
<description>Id of the Yeelight device to connect with.</description>
|
<description>Id of the Yeelight device to connect with.</description>
|
||||||
|
|||||||
@ -14,6 +14,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -15,6 +15,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -13,6 +13,6 @@
|
|||||||
<channel id="nightlight" typeId="nightlight"/>
|
<channel id="nightlight" typeId="nightlight"/>
|
||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -14,6 +14,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -14,6 +14,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -13,6 +13,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -14,6 +14,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
@ -14,6 +14,6 @@
|
|||||||
<channel id="command" typeId="command"/>
|
<channel id="command" typeId="command"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<config-description-ref uri="thing-type:device:base"/>
|
<config-description-ref uri="thing-type:yeelight:device"/>
|
||||||
</thing-type>
|
</thing-type>
|
||||||
</thing:thing-descriptions>
|
</thing:thing-descriptions>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user