forked from openhab/openhab1-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makes the my.openhab bundle configurable (openhab#1452)
Signed-off-by: Dan Cunningham <[email protected]>
- Loading branch information
1 parent
64abc6a
commit 55762cf
Showing
5 changed files
with
51 additions
and
31 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
addons/io/org.openhab.io.myopenhab/ESH-INF/config/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<config-description:config-descriptions | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:config-description="http://eclipse.org/smarthome/schemas/config-description/v1.0.0" | ||
xsi:schemaLocation="http://eclipse.org/smarthome/schemas/config-description/v1.0.0 | ||
http://eclipse.org/smarthome/schemas/config-description-1.0.0.xsd"> | ||
<config-description uri="io:myopenhab"> | ||
<parameter name="mode" type="text" required="true"> | ||
<label>Mode</label> | ||
<description>What mode to use with the my.opehab service</description> | ||
<options> | ||
<option value="persistence">Persistence</option> | ||
<option value="none">No persistence</option> | ||
</options> | ||
<default>persistence</default> | ||
</parameter> | ||
<parameter name="baseURL" type="text" required="false"> | ||
<label>Base URL for the my.openhab server</label> | ||
<description>Base URL for the my.openhab server</description> | ||
<default>https://my.openhab.org/</default> | ||
</parameter> | ||
</config-description> | ||
</config-description:config-descriptions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters