]> git.basschouten.com Git - openhab-addons.git/commitdiff
Add instruction for channel removal (#14473)
authorJacob Laursen <jacob-github@vindvejr.dk>
Fri, 10 Mar 2023 14:28:52 +0000 (15:28 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2023 14:28:52 +0000 (15:28 +0100)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.binding.danfossairunit/src/main/resources/OH-INF/thing/thing-types.xml
bundles/org.openhab.binding.danfossairunit/src/main/resources/OH-INF/update/instructions.xml [new file with mode: 0644]

index 3c9a3ce13754068e5bc82ef330be32f1d2d645c5..d2be979b0dfda2af2414c570fa10ba6c4ab1fc20 100644 (file)
@@ -18,6 +18,7 @@
                </channel-groups>
                <properties>
                        <property name="vendor">Danfoss</property>
+                       <property name="thingTypeVersion">1</property>
                </properties>
                <representation-property>host</representation-property>
                <config-description>
diff --git a/bundles/org.openhab.binding.danfossairunit/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.danfossairunit/src/main/resources/OH-INF/update/instructions.xml
new file mode 100644 (file)
index 0000000..93796e0
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:update="https://openhab.org/schemas/update-description/v1.0.0"
+       xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd">
+
+       <thing-type uid="danfossairunit:airunit">
+
+               <instruction-set targetVersion="1">
+                       <remove-channel id="manual_fan_speed" groupIds="main"/>
+               </instruction-set>
+
+       </thing-type>
+
+</update:update-descriptions>