[loxone] fix representation property (#10086)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
parent
ca359153d8
commit
7269cbfbf5
@ -71,7 +71,7 @@ public class LxDiscoveryParticipant implements UpnpDiscoveryParticipant {
|
|||||||
properties.put(Thing.PROPERTY_SERIAL_NUMBER, serial);
|
properties.put(Thing.PROPERTY_SERIAL_NUMBER, serial);
|
||||||
|
|
||||||
return DiscoveryResultBuilder.create(uid).withProperties(properties).withLabel(label)
|
return DiscoveryResultBuilder.create(uid).withProperties(properties).withLabel(label)
|
||||||
.withRepresentationProperty(serial).build();
|
.withRepresentationProperty(Thing.PROPERTY_SERIAL_NUMBER).build();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user