Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
public static final String CONFIG_HOST = "host";
public static final String CONFIG_HTTP_PORT = "httpPort";
public static final String CONFIG_APIKEY = "apikey";
+ public static final String PROPERTY_UDN = "UDN";
public static final String UNIQUE_ID = "uid";
properties.put(CONFIG_HOST, host);
properties.put(CONFIG_HTTP_PORT, port);
+ properties.put(PROPERTY_UDN, UDN);
return DiscoveryResultBuilder.create(uid).withProperties(properties).withLabel(name)
- .withRepresentationProperty(UDN).build();
+ .withRepresentationProperty(PROPERTY_UDN).build();
}
@Override
<bridge-type id="deconz">
<label>deCONZ</label>
- <description>A running deCONZ software instance</description>
+ <description>A running deCONZ software instance.</description>
+
+ <representation-property>UDN</representation-property>
<config-description-ref uri="thing-type:deconz:bridge"/>
</bridge-type>