]> git.basschouten.com Git - openhab-addons.git/commitdiff
[awattar] Fix that allows bridge to be added via UI. (#13730)
authorDoug Culnane <32482395+dougculnane@users.noreply.github.com>
Thu, 17 Nov 2022 18:46:57 +0000 (19:46 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 18:46:57 +0000 (19:46 +0100)
Signed-off-by: Doug Culnane <doug@culnane.net>
bundles/org.openhab.binding.awattar/src/main/resources/OH-INF/thing/bridge-types.xml [deleted file]
bundles/org.openhab.binding.awattar/src/main/resources/OH-INF/thing/thing-types.xml

diff --git a/bundles/org.openhab.binding.awattar/src/main/resources/OH-INF/thing/bridge-types.xml b/bundles/org.openhab.binding.awattar/src/main/resources/OH-INF/thing/bridge-types.xml
deleted file mode 100644 (file)
index 09b6bed..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<thing:thing-descriptions bindingId="openweathermap"
-       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">
-
-
-       <bridge-type id="bridge">
-               <label>aWATTar Bridge</label>
-               <description>Provides price data from the aWATTar API.</description>
-               <config-description-ref uri="bridge-type:awattar:bridge"/>
-       </bridge-type>
-
-</thing:thing-descriptions>
index 939667119d7299af1fcdf75bde8ea075774c91d0..4b659c087b22eb8f4dd33c1a7682bdc04a0c53f3 100644 (file)
@@ -4,6 +4,12 @@
        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">
 
+       <bridge-type id="bridge">
+               <label>aWATTar Bridge</label>
+               <description>Provides price data from the aWATTar API.</description>
+               <config-description-ref uri="bridge-type:awattar:bridge"/>
+       </bridge-type>
+
        <thing-type id="prices">
                <supported-bridge-type-refs>
                        <bridge-type-ref id="bridge"/>