]> git.basschouten.com Git - openhab-addons.git/blob
51e9957a01df9a8787a57395d47202f29d2a7c7c
[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                 </supported-bridge-type-refs>
11                 <label>HomeAssistant MQTT Component</label>
12                 <description>You need a configured Broker first. This Thing represents a device, that follows the "HomeAssistant MQTT
13                         Component" specification.</description>
14                 <config-description>
15                         <parameter name="topics" type="text" required="true" multiple="true">
16                                 <label>MQTT Config Topic</label>
17                                 <description>List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)</description>
18                         </parameter>
19
20                         <parameter name="basetopic" type="text" required="true">
21                                 <label>MQTT Base Prefix</label>
22                                 <description>MQTT base prefix</description>
23                                 <default>homeassistant</default>
24                         </parameter>
25                 </config-description>
26         </thing-type>
27 </thing:thing-descriptions>