mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +01:00
[hue] do not add instantiated rooms/zones to inbox (#17440)
Signed-off-by: AndrewFG <software@whitebear.ch>
This commit is contained in:
parent
8d552bf3ef
commit
7fbcb0d420
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user