mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +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());
|
Map<String, String> properties = new HashMap<>(thing.getProperties());
|
||||||
|
|
||||||
// resource data
|
// resource data
|
||||||
|
properties.put(PROPERTY_RESOURCE_ID, resourceId);
|
||||||
properties.put(PROPERTY_RESOURCE_TYPE, thisResource.getType().toString());
|
properties.put(PROPERTY_RESOURCE_TYPE, thisResource.getType().toString());
|
||||||
properties.put(PROPERTY_RESOURCE_NAME, thisResource.getName());
|
properties.put(PROPERTY_RESOURCE_NAME, thisResource.getName());
|
||||||
|
|
||||||
@ -1196,7 +1197,6 @@ public class Clip2ThingHandler extends BaseThingHandler {
|
|||||||
String modelId = productData.getModelId();
|
String modelId = productData.getModelId();
|
||||||
|
|
||||||
// standard properties
|
// standard properties
|
||||||
properties.put(PROPERTY_RESOURCE_ID, resourceId);
|
|
||||||
properties.put(Thing.PROPERTY_MODEL_ID, modelId);
|
properties.put(Thing.PROPERTY_MODEL_ID, modelId);
|
||||||
properties.put(Thing.PROPERTY_VENDOR, productData.getManufacturerName());
|
properties.put(Thing.PROPERTY_VENDOR, productData.getManufacturerName());
|
||||||
properties.put(Thing.PROPERTY_FIRMWARE_VERSION, productData.getSoftwareVersion());
|
properties.put(Thing.PROPERTY_FIRMWARE_VERSION, productData.getSoftwareVersion());
|
||||||
|
Loading…
Reference in New Issue
Block a user