Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hue] Room / Zone Things no longer re-appear in Inbox #17440

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[hue] do not add instantiated rooms/zones to inbox
Signed-off-by: AndrewFG <software@whitebear.ch>
  • Loading branch information
andrewfg committed Sep 19, 2024
commit 56becb237fd1121042cfbef6a01fda7e268e08a6
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