Skip to content

Commit 8cf49eb

Browse files
authored
[freeboxos] Fix macAddress property when discovering a server (openhab#17082)
Fix openhab#17071 Signed-off-by: Laurent Garnier <[email protected]>
1 parent 4946aa9 commit 8cf49eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/discovery/FreeboxOsDiscoveryService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private void discoverServer(SystemManager systemManager, ThingUID bridgeUID) thr
236236

237237
DiscoveryResult discoveryResult = DiscoveryResultBuilder.create(thingUID).withBridge(bridgeUID)
238238
.withRepresentationProperty(Thing.PROPERTY_MAC_ADDRESS).withLabel(config.modelInfo().prettyName())
239-
.withProperty(Thing.PROPERTY_MAC_ADDRESS, config.mac()).build();
239+
.withProperty(Thing.PROPERTY_MAC_ADDRESS, config.mac().toColonDelimitedString()).build();
240240
thingDiscovered(discoveryResult);
241241
} catch (PermissionException e) {
242242
logger.warn("Missing permission to discover Server {}", e.getPermission());

0 commit comments

Comments
 (0)