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

26 lines
933 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="sound-controller">
<supported-bridge-type-refs>
<bridge-type-ref id="gateway"/>
</supported-bridge-type-refs>
<label>Sound Controller</label>
<description>Controller for speakers</description>
<channels>
<channel id="battery-level" typeId="system.battery-level">
<label>Battery Charge Level</label>
<description>Battery charge level in percent</description>
</channel>
<channel id="custom-name" typeId="custom-name"/>
</channels>
<config-description-ref uri="thing-type:dirigera:base-device"/>
</thing-type>
</thing:thing-descriptions>