mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[sleepiq] Add thing type update instructions (#14460)
* Add thing type update instructions * Move thingTypeVersion to correct thing type * Add groupIds to update instructions Signed-off-by: Mark Hilbush <mark@hilbush.com>
This commit is contained in:
parent
c8cdd2dfa5
commit
dba5550ae6
@ -68,6 +68,10 @@
|
||||
<channel-group id="right" typeId="chamberGroupType"/>
|
||||
</channel-groups>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<config-description>
|
||||
<parameter name="bedId" type="text" required="true">
|
||||
<label>Bed ID</label>
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user