mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">
|
||||
<type>binding</type>
|
||||
<name>@text/icloud.binding.name</name>
|
||||
<description>@text/icloud.binding.description</description>
|
||||
<name>@text/icloud.addon.name</name>
|
||||
<description>@text/icloud.addon.description</description>
|
||||
</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">
|
||||
|
||||
<type>binding</type>
|
||||
<name>@text/binding.shelly.name</name>
|
||||
<description>@text/binding.shelly.description</description>
|
||||
<author>Markus Michels</author>
|
||||
<name>@text/addon.shelly.name</name>
|
||||
<description>@text/addon.shelly.description</description>
|
||||
|
||||
<config-description>
|
||||
<parameter name="defaultUserId" type="text">
|
||||
<default>admin</default>
|
||||
<label>@text/binding.shelly.config.defaultUserId.label</label>
|
||||
<description>@text/binding.shelly.config.defaultUserId.description</description>
|
||||
<label>@text/addon.shelly.config.defaultUserId.label</label>
|
||||
<description>@text/addon.shelly.config.defaultUserId.description</description>
|
||||
</parameter>
|
||||
<parameter name="defaultPassword" type="text">
|
||||
<default>admin</default>
|
||||
<label>@text/binding.shelly.config.defaultPassword.label</label>
|
||||
<description>@text/binding.shelly.config.defaultPassword.description</description>
|
||||
<label>@text/addon.shelly.config.defaultPassword.label</label>
|
||||
<description>@text/addon.shelly.config.defaultPassword.description</description>
|
||||
<context>password</context>
|
||||
</parameter>
|
||||
<parameter name="localIP" type="text">
|
||||
<label>@text/binding.shelly.config.localIP.label</label>
|
||||
<description>@text/binding.shelly.config.localIP.description</description>
|
||||
<label>@text/addon.shelly.config.localIP.label</label>
|
||||
<description>@text/addon.shelly.config.localIP.description</description>
|
||||
<default></default>
|
||||
</parameter>
|
||||
<parameter name="autoCoIoT" type="boolean">
|
||||
<default>true</default>
|
||||
<label>@text/binding.shelly.config.autoCoIoT.label</label>
|
||||
<description>@text/binding.shelly.config.autoCoIoT.description</description>
|
||||
<label>@text/addon.shelly.config.autoCoIoT.label</label>
|
||||
<description>@text/addon.shelly.config.autoCoIoT.description</description>
|
||||
</parameter>
|
||||
</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
Block a user