From 47af02a052f09a25168be4033bd87ee57883af45 Mon Sep 17 00:00:00 2001 From: Mark Hilbush Date: Mon, 20 Feb 2023 08:26:07 -0500 Subject: [PATCH 1/3] Add thing type update instructions Signed-off-by: Mark Hilbush --- .../resources/OH-INF/thing/thing-types.xml | 1 + .../resources/OH-INF/update/instructions.xml | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml diff --git a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml index 0c8c60a388b63..f3f9ccd24a141 100644 --- a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml @@ -11,6 +11,7 @@ Select Comfort + 1 diff --git a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 0000000000000..22b4734cf1fbc --- /dev/null +++ b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,25 @@ + + + + + + + + sleepiq:todaySleepInBedSecondsType + + + sleepiq:todaySleepOutOfBedSecondsType + + + sleepiq:todaySleepRestfulSecondsType + + + sleepiq:todaySleepRestlessSecondsType + + + + + + From 397cc843b6539b79e345249ee2260ec373d02385 Mon Sep 17 00:00:00 2001 From: Mark Hilbush Date: Mon, 20 Feb 2023 13:22:19 -0500 Subject: [PATCH 2/3] Move thingTypeVersion to correct thing type Signed-off-by: Mark Hilbush --- .../src/main/resources/OH-INF/thing/thing-types.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml index f3f9ccd24a141..9942604ea2820 100644 --- a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/thing/thing-types.xml @@ -11,7 +11,6 @@ Select Comfort - 1 @@ -69,6 +68,10 @@ + + 1 + + From 7d778114e362a5711d623edc600dfe3fdb22e954 Mon Sep 17 00:00:00 2001 From: Mark Hilbush Date: Mon, 20 Feb 2023 15:15:10 -0500 Subject: [PATCH 3/3] Add groupIds to update instructions Signed-off-by: Mark Hilbush --- .../src/main/resources/OH-INF/update/instructions.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml index 22b4734cf1fbc..5388b928bbbec 100644 --- a/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml +++ b/bundles/org.openhab.binding.sleepiq/src/main/resources/OH-INF/update/instructions.xml @@ -6,16 +6,16 @@ - + sleepiq:todaySleepInBedSecondsType - + sleepiq:todaySleepOutOfBedSecondsType - + sleepiq:todaySleepRestfulSecondsType - + sleepiq:todaySleepRestlessSecondsType