diff --git a/bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/discovery/TadoDiscoveryService.java b/bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/discovery/TadoDiscoveryService.java index 632e108ab..c386097af 100644 --- a/bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/discovery/TadoDiscoveryService.java +++ b/bundles/org.openhab.binding.tado/src/main/java/org/openhab/binding/tado/internal/discovery/TadoDiscoveryService.java @@ -123,7 +123,7 @@ public class TadoDiscoveryService extends AbstractDiscoveryService { 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); @@ -156,7 +156,7 @@ public class TadoDiscoveryService extends AbstractDiscoveryService { 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); diff --git a/bundles/org.openhab.binding.tado/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.tado/src/main/resources/OH-INF/thing/thing-types.xml index 2b213c992..d2e17a7fc 100644 --- a/bundles/org.openhab.binding.tado/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.tado/src/main/resources/OH-INF/thing/thing-types.xml @@ -60,6 +60,11 @@ + + tado° + + id + @@ -98,6 +103,11 @@ + + tado° + + id +