From 7fbcb0d420cc5c7efd8233053c2addc46bc364bb Mon Sep 17 00:00:00 2001 From: Andrew Fiddian-Green Date: Thu, 19 Sep 2024 11:41:05 +0100 Subject: [PATCH] [hue] do not add instantiated rooms/zones to inbox (#17440) Signed-off-by: AndrewFG --- .../openhab/binding/hue/internal/handler/Clip2ThingHandler.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/handler/Clip2ThingHandler.java b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java index e4dcc2c5e35..ddbe824eaa1 100644 --- a/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java +++ b/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java @@ -1170,6 +1170,7 @@ public class Clip2ThingHandler extends BaseThingHandler { Map properties = new HashMap<>(thing.getProperties()); // resource data + properties.put(PROPERTY_RESOURCE_ID, resourceId); properties.put(PROPERTY_RESOURCE_TYPE, thisResource.getType().toString()); properties.put(PROPERTY_RESOURCE_NAME, thisResource.getName()); @@ -1196,7 +1197,6 @@ public class Clip2ThingHandler extends BaseThingHandler { String modelId = productData.getModelId(); // standard properties - properties.put(PROPERTY_RESOURCE_ID, resourceId); properties.put(Thing.PROPERTY_MODEL_ID, modelId); properties.put(Thing.PROPERTY_VENDOR, productData.getManufacturerName()); properties.put(Thing.PROPERTY_FIRMWARE_VERSION, productData.getSoftwareVersion());