added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config-description:config-descriptions
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="mqtt:ha_channel">
|
||||
<parameter name="component" type="text" readOnly="true" required="true">
|
||||
<label>Component</label>
|
||||
<description>HomeAssistant component type (e.g. binary_sensor, switch, light)</description>
|
||||
<default></default>
|
||||
</parameter>
|
||||
<parameter name="nodeid" type="text" readOnly="true">
|
||||
<label>Node ID</label>
|
||||
<description>Optional node name of the component</description>
|
||||
<default></default>
|
||||
</parameter>
|
||||
<parameter name="objectid" type="text" readOnly="true" required="true">
|
||||
<label>Object ID</label>
|
||||
<description>Object id of the component</description>
|
||||
<default></default>
|
||||
</parameter>
|
||||
<parameter name="config" type="text" readOnly="true" required="true">
|
||||
<label>Json Configuration</label>
|
||||
<description>The json configuration string received by the component via MQTT.</description>
|
||||
<default></default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</config-description:config-descriptions>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<thing:thing-descriptions bindingId="mqtt"
|
||||
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="homeassistant">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="broker"/>
|
||||
<bridge-type-ref id="systemBroker"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>HomeAssistant MQTT Component</label>
|
||||
<description>You need a configured Broker first. This Thing represents a device, that follows the "HomeAssistant MQTT
|
||||
Component" specification.</description>
|
||||
<config-description>
|
||||
<parameter name="topics" type="text" required="true" multiple="true">
|
||||
<label>MQTT Config Topic</label>
|
||||
<description>List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="basetopic" type="text" required="true">
|
||||
<label>MQTT Base Prefix</label>
|
||||
<description>MQTT base prefix</description>
|
||||
<default>homeassistant</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
Reference in New Issue
Block a user