Skip to content

Commit

Permalink
[hue] do not add instantiated rooms/zones to inbox (#17440)
Browse files Browse the repository at this point in the history
Signed-off-by: AndrewFG <[email protected]>
  • Loading branch information
andrewfg authored Sep 19, 2024
1 parent 8d552bf commit 7fbcb0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,7 @@ private synchronized void updateProperties(Resource resource) {
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());

Expand All @@ -1196,7 +1197,6 @@ private synchronized void updateProperties(Resource resource) {
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());
Expand Down

0 comments on commit 7fbcb0d

Please sign in to comment.