Fix some addon.xml issues (#14261)
* Fix some addon.xml issues * Re-add thing-type binding for Velux * Prefix thing-type filenames Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
8ee8a1e2ed
commit
fe9f0583b5
|
@ -3,6 +3,6 @@
|
||||||
xmlns:addon="https://openhab.org/schemas/addon/v1.0.0"
|
xmlns:addon="https://openhab.org/schemas/addon/v1.0.0"
|
||||||
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
||||||
<type>binding</type>
|
<type>binding</type>
|
||||||
<name>@text/icloud.binding.name</name>
|
<name>@text/icloud.addon.name</name>
|
||||||
<description>@text/icloud.binding.description</description>
|
<description>@text/icloud.addon.description</description>
|
||||||
</addon:addon>
|
</addon:addon>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<addon:addon id="nobohub" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns:addon="https://openhab.org/schemas/addon/v1.0.0"
|
||||||
|
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
||||||
|
|
||||||
|
<type>binding</type>
|
||||||
|
<name>Glen Dimplex Nobø Hub Binding</name>
|
||||||
|
<description>This is the binding for Glen Dimplex Nobø Hub.</description>
|
||||||
|
|
||||||
|
</addon:addon>
|
|
@ -4,31 +4,30 @@
|
||||||
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
||||||
|
|
||||||
<type>binding</type>
|
<type>binding</type>
|
||||||
<name>@text/binding.shelly.name</name>
|
<name>@text/addon.shelly.name</name>
|
||||||
<description>@text/binding.shelly.description</description>
|
<description>@text/addon.shelly.description</description>
|
||||||
<author>Markus Michels</author>
|
|
||||||
|
|
||||||
<config-description>
|
<config-description>
|
||||||
<parameter name="defaultUserId" type="text">
|
<parameter name="defaultUserId" type="text">
|
||||||
<default>admin</default>
|
<default>admin</default>
|
||||||
<label>@text/binding.shelly.config.defaultUserId.label</label>
|
<label>@text/addon.shelly.config.defaultUserId.label</label>
|
||||||
<description>@text/binding.shelly.config.defaultUserId.description</description>
|
<description>@text/addon.shelly.config.defaultUserId.description</description>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="defaultPassword" type="text">
|
<parameter name="defaultPassword" type="text">
|
||||||
<default>admin</default>
|
<default>admin</default>
|
||||||
<label>@text/binding.shelly.config.defaultPassword.label</label>
|
<label>@text/addon.shelly.config.defaultPassword.label</label>
|
||||||
<description>@text/binding.shelly.config.defaultPassword.description</description>
|
<description>@text/addon.shelly.config.defaultPassword.description</description>
|
||||||
<context>password</context>
|
<context>password</context>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="localIP" type="text">
|
<parameter name="localIP" type="text">
|
||||||
<label>@text/binding.shelly.config.localIP.label</label>
|
<label>@text/addon.shelly.config.localIP.label</label>
|
||||||
<description>@text/binding.shelly.config.localIP.description</description>
|
<description>@text/addon.shelly.config.localIP.description</description>
|
||||||
<default></default>
|
<default></default>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="autoCoIoT" type="boolean">
|
<parameter name="autoCoIoT" type="boolean">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<label>@text/binding.shelly.config.autoCoIoT.label</label>
|
<label>@text/addon.shelly.config.autoCoIoT.label</label>
|
||||||
<description>@text/binding.shelly.config.autoCoIoT.description</description>
|
<description>@text/addon.shelly.config.autoCoIoT.description</description>
|
||||||
</parameter>
|
</parameter>
|
||||||
</config-description>
|
</config-description>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Velux Binding -->
|
||||||
|
<thing:thing-descriptions bindingId="velux"
|
||||||
|
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">
|
||||||
|
<!-- -->
|
||||||
|
<!-- Velux binding Binding -->
|
||||||
|
<!-- -->
|
||||||
|
<thing-type id="binding">
|
||||||
|
<label>@text/thing-type.velux.binding.label</label>
|
||||||
|
<description>@text/thing-type.velux.binding.description</description>
|
||||||
|
<category>NetworkAppliance</category>
|
||||||
|
<channels>
|
||||||
|
<channel id="information" typeId="information"/>
|
||||||
|
</channels>
|
||||||
|
<properties>
|
||||||
|
<property name="bundleVersion">N/A</property>
|
||||||
|
</properties>
|
||||||
|
<representation-property>bundleVersion</representation-property>
|
||||||
|
</thing-type>
|
||||||
|
</thing:thing-descriptions>
|
Loading…
Reference in New Issue