forked from openhab/openhab-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.
[sleepiq] Add thing type update instructions (openhab#14460)
* Add thing type update instructions * Move thingTypeVersion to correct thing type * Add groupIds to update instructions Signed-off-by: Mark Hilbush <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.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,25 @@ | ||
<?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="sleepiq:dualBed"> | ||
|
||
<instruction-set targetVersion="1"> | ||
<add-channel id="todaySleepInBedSeconds" groupIds="left,right"> | ||
<type>sleepiq:todaySleepInBedSecondsType</type> | ||
</add-channel> | ||
<add-channel id="todaySleepOutOfBedSeconds" groupIds="left,right"> | ||
<type>sleepiq:todaySleepOutOfBedSecondsType</type> | ||
</add-channel> | ||
<add-channel id="todaySleepRestfulSeconds" groupIds="left,right"> | ||
<type>sleepiq:todaySleepRestfulSecondsType</type> | ||
</add-channel> | ||
<add-channel id="todaySleepRestlessSeconds" groupIds="left,right"> | ||
<type>sleepiq:todaySleepRestlessSecondsType</type> | ||
</add-channel> | ||
</instruction-set> | ||
|
||
</thing-type> | ||
|
||
</update:update-descriptions> |