mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[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:
parent
3735c7919e
commit
0051823bb3
@ -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