From cad5a498860761f8175ab40825468c7c5b9c2bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20L=27hopital?= Date: Fri, 22 Nov 2024 14:41:18 +0100 Subject: [PATCH 1/2] Distinguish thing action scope across the binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaël L'hopital --- .../openhab/binding/hue/internal/action/DynamicsActions.java | 2 +- .../org/openhab/binding/hue/internal/action/LightActions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java index dd6fdcbcd921d..aa6c9dc8af78d 100644 --- a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java +++ b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java @@ -36,7 +36,7 @@ * @author Andrew Fiddian-Green - Initial contribution */ @Component(scope = ServiceScope.PROTOTYPE, service = DynamicsActions.class) -@ThingActionsScope(name = "hue") +@ThingActionsScope(name = "hue-dynamics") @NonNullByDefault public class DynamicsActions implements ThingActions { diff --git a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/LightActions.java b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/LightActions.java index 5207789a4755c..3286d7b96e26b 100644 --- a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/LightActions.java +++ b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/LightActions.java @@ -33,7 +33,7 @@ * @author Jochen Leopold - Initial contribution */ @Component(scope = ServiceScope.PROTOTYPE, service = LightActions.class) -@ThingActionsScope(name = "hue") +@ThingActionsScope(name = "hue-light") @NonNullByDefault public class LightActions implements ThingActions { private final Logger logger = LoggerFactory.getLogger(LightActions.class); From 749fa202bdf3f0b0a089bdb1fd4293c2c45d0982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20L=27hopital?= Date: Tue, 26 Nov 2024 12:13:46 +0100 Subject: [PATCH 2/2] Minimize breaking changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaël L'hopital --- .../openhab/binding/hue/internal/action/DynamicsActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java index aa6c9dc8af78d..dd6fdcbcd921d 100644 --- a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java +++ b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/action/DynamicsActions.java @@ -36,7 +36,7 @@ * @author Andrew Fiddian-Green - Initial contribution */ @Component(scope = ServiceScope.PROTOTYPE, service = DynamicsActions.class) -@ThingActionsScope(name = "hue-dynamics") +@ThingActionsScope(name = "hue") @NonNullByDefault public class DynamicsActions implements ThingActions {