]> git.basschouten.com Git - openhab-addons.git/commitdiff
[loxone] fix representation property (#10086)
authorJ-N-K <J-N-K@users.noreply.github.com>
Sun, 7 Feb 2021 18:44:39 +0000 (19:44 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 18:44:39 +0000 (19:44 +0100)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxDiscoveryParticipant.java

index 8c84806878d7d27d9e573649b63123daea2c56f4..847b5d1c04b5ecad4771b85c649844feac9bbb48 100644 (file)
@@ -71,7 +71,7 @@ public class LxDiscoveryParticipant implements UpnpDiscoveryParticipant {
             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;
     }