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

27 lines
948 B
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="switch-light">
<supported-bridge-type-refs>
<bridge-type-ref id="gateway"/>
</supported-bridge-type-refs>
<label>Switch Light</label>
<description>Light with switch ON, OFF capability</description>
<channels>
<channel id="power" typeId="system.power">
<label>Light Powered</label>
<description>Power state of light</description>
</channel>
<channel id="startup" typeId="startup"/>
<channel id="custom-name" typeId="custom-name"/>
</channels>
<config-description-ref uri="thing-type:dirigera:base-device"/>
</thing-type>
</thing:thing-descriptions>