]> git.basschouten.com Git - openhab-addons.git/blob
57331f1783de9749c2b6055a4afb5d74b24d62fb
[openhab-addons.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <thing:thing-descriptions bindingId="mqtt"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
5         xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
6
7         <thing-type id="homeassistant">
8                 <supported-bridge-type-refs>
9                         <bridge-type-ref id="broker"/>
10                         <bridge-type-ref id="systemBroker"/>
11                 </supported-bridge-type-refs>
12                 <label>HomeAssistant MQTT Component</label>
13                 <description>You need a configured Broker first. This Thing represents a device, that follows the "HomeAssistant MQTT
14                         Component" specification.</description>
15                 <config-description>
16                         <parameter name="topics" type="text" required="true" multiple="true">
17                                 <label>MQTT Config Topic</label>
18                                 <description>List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)</description>
19                         </parameter>
20
21                         <parameter name="basetopic" type="text" required="true">
22                                 <label>MQTT Base Prefix</label>
23                                 <description>MQTT base prefix</description>
24                                 <default>homeassistant</default>
25                         </parameter>
26                 </config-description>
27         </thing-type>
28 </thing:thing-descriptions>