Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
properties.put(CONFIG_ZONE_ID, zoneId);
DiscoveryResult result = DiscoveryResultBuilder.create(uid).withBridge(bridgeUID).withLabel(zone.getName())
- .withProperties(properties).build();
+ .withProperties(properties).withRepresentationProperty(CONFIG_ZONE_ID).build();
thingDiscovered(result);
properties.put(CONFIG_MOBILE_DEVICE_ID, device.getId());
DiscoveryResult result = DiscoveryResultBuilder.create(uid).withBridge(bridgeUID).withLabel(device.getName())
- .withProperties(properties).build();
+ .withProperties(properties).withRepresentationProperty(CONFIG_MOBILE_DEVICE_ID).build();
thingDiscovered(result);
<channel typeId="openWindowDetected" id="openWindowDetected"></channel>
</channels>
+ <properties>
+ <property name="vendor">tado°</property>
+ </properties>
+ <representation-property>id</representation-property>
+
<config-description>
<parameter name="id" type="integer" required="true">
<label>Zone Id</label>
<channel typeId="atHome" id="atHome"></channel>
</channels>
+ <properties>
+ <property name="vendor">tado°</property>
+ </properties>
+ <representation-property>id</representation-property>
+
<config-description>
<parameter name="id" type="integer" required="true">
<label>Mobile Device Id</label>