diff --git a/bundles/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/discovery/SamsungTvDiscoveryParticipant.java b/bundles/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/discovery/SamsungTvDiscoveryParticipant.java index 4bc16cb1fe1b4..cd67d3c682ba1 100644 --- a/bundles/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/discovery/SamsungTvDiscoveryParticipant.java +++ b/bundles/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/discovery/SamsungTvDiscoveryParticipant.java @@ -57,7 +57,7 @@ public Set getSupportedThingTypeUIDs() { properties.put(HOST_NAME, device.getIdentity().getDescriptorURL().getHost()); DiscoveryResult result = DiscoveryResultBuilder.create(uid).withProperties(properties) - .withLabel(getLabel(device)).build(); + .withRepresentationProperty(HOST_NAME).withLabel(getLabel(device)).build(); logger.debug("Created a DiscoveryResult for device '{}' with UDN '{}' and properties: {}", device.getDetails().getModelDetails().getModelName(), diff --git a/bundles/org.openhab.binding.samsungtv/src/main/resources/ESH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.samsungtv/src/main/resources/ESH-INF/thing/thing-types.xml index 34ced773ef24e..a06e47b38a081 100644 --- a/bundles/org.openhab.binding.samsungtv/src/main/resources/ESH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.samsungtv/src/main/resources/ESH-INF/thing/thing-types.xml @@ -28,6 +28,8 @@ + hostName +