[hue] do not add instantiated rooms/zones to inbox (#17440)

Signed-off-by: AndrewFG <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Andrew Fiddian-Green 2024-09-19 11:41:05 +01:00 committed by Ciprian Pascu
parent 3735c7919e
commit 0051823bb3

View File

@ -1170,6 +1170,7 @@ public class Clip2ThingHandler extends BaseThingHandler {
Map<String, String> 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());