openhab-addons/bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/dimmable-light.xml

33 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="dirigera"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<thing-type id="dimmable-light">
<supported-bridge-type-refs>
<bridge-type-ref id="gateway"/>
</supported-bridge-type-refs>
<label>Dimmable Light</label>
<description>Light with brightness support</description>
<channels>
<channel id="power" typeId="system.power">
<label>Light Powered</label>
<description>Power state of light</description>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel>
<channel id="brightness" typeId="system.brightness">
<label>Brightness</label>
<description>Brightness of light in percent</description>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel>
<channel id="startup" typeId="startup"/>
<channel id="custom-name" typeId="custom-name"/>
</channels>
<config-description-ref uri="thing-type:dirigera:light-device"/>
</thing-type>
</thing:thing-descriptions>