From cd6bc07cdc4578c9d3d82b64cd84341be9c359bc Mon Sep 17 00:00:00 2001 From: Leo Siepel Date: Fri, 31 Oct 2025 16:06:44 +0100 Subject: [PATCH 1/2] Fix channel metadata Signed-off-by: Leo Siepel --- .../resources/OH-INF/i18n/souliss.properties | 4 +- .../resources/OH-INF/thing/thing-types.xml | 21 +++++++--- .../resources/OH-INF/update/instructions.xml | 38 +++++++++++++++++++ 3 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml diff --git a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/i18n/souliss.properties b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/i18n/souliss.properties index 3c252bec89ae8..6b2d82c54763e 100644 --- a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/i18n/souliss.properties +++ b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/i18n/souliss.properties @@ -260,8 +260,8 @@ channel-type.souliss.autoMode.label = On/Off Auto Mode channel-type.souliss.autoMode.description = Switch on/off channel-type.souliss.button.label = Button channel-type.souliss.button.description = Button to trigger something -channel-type.souliss.buttonReadOnly.label = Button -channel-type.souliss.buttonReadOnly.description = Button to trigger something +channel-type.souliss.buttonReadOnly.label = Status +channel-type.souliss.buttonReadOnly.description = Read-only status indicator channel-type.souliss.dimmerBrightness.label = Dimmer Brightness channel-type.souliss.dimmerBrightness.description = The brightness can be set in 16 steps for RGBW/White leds and in 64 steps for RGBWW leds channel-type.souliss.fan-channel.label = Fan diff --git a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml index d2e865cc0a312..2745014527b7d 100644 --- a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml @@ -495,6 +495,9 @@ + + 1 + @@ -527,8 +530,10 @@ - + + 1 + @@ -568,6 +573,9 @@ + + 1 + @@ -773,10 +781,13 @@ Pressure measure (0, 1500) hPa - + + + 1 + @@ -1058,12 +1069,12 @@ Switch - - Button to trigger something + + Read-only status indicator Switch + - Switch diff --git a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 0000000000000..cc6ef38bf2969 --- /dev/null +++ b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,38 @@ + + + + + + + souliss:buttonReadOnly + + + + + + + + souliss:buttonReadOnly + + + + + + + + souliss:buttonReadOnly + + + + + + + + souliss:pressure + + + + + From 1a90e315702d9fc12e5bef01cd852944e46650a4 Mon Sep 17 00:00:00 2001 From: Leo Siepel Date: Mon, 3 Nov 2025 19:29:40 +0100 Subject: [PATCH 2/2] Review comment Signed-off-by: Leo Siepel --- .../src/main/resources/OH-INF/update/instructions.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml index cc6ef38bf2969..0bf8c12513924 100644 --- a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml +++ b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/update/instructions.xml @@ -7,6 +7,7 @@ souliss:buttonReadOnly + @@ -15,6 +16,7 @@ souliss:buttonReadOnly + @@ -23,6 +25,7 @@ souliss:buttonReadOnly +