From f5575396eb0e39741472e32dc8a18c8e05ffec99 Mon Sep 17 00:00:00 2001 From: J-N-K Date: Sun, 7 Feb 2021 19:44:39 +0100 Subject: [PATCH] [loxone] fix representation property (#10086) Signed-off-by: Jan N. Klug --- .../openhab/binding/loxone/internal/LxDiscoveryParticipant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxDiscoveryParticipant.java b/bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxDiscoveryParticipant.java index 8c84806878d7d..847b5d1c04b5e 100644 --- a/bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxDiscoveryParticipant.java +++ b/bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxDiscoveryParticipant.java @@ -71,7 +71,7 @@ public DiscoveryResult createResult(RemoteDevice device) { properties.put(Thing.PROPERTY_SERIAL_NUMBER, serial); return DiscoveryResultBuilder.create(uid).withProperties(properties).withLabel(label) - .withRepresentationProperty(serial).build(); + .withRepresentationProperty(Thing.PROPERTY_SERIAL_NUMBER).build(); } return null; }