From 7ca330f0906c4b117083eccaa15fcc4e2a85a423 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Tue, 16 Jul 2024 17:52:17 +0200 Subject: [PATCH] [freeboxos] Fix macAddress property when discovering a server (#17082) Fix #17071 Signed-off-by: Laurent Garnier Signed-off-by: Ciprian Pascu --- .../freeboxos/internal/discovery/FreeboxOsDiscoveryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/discovery/FreeboxOsDiscoveryService.java b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/discovery/FreeboxOsDiscoveryService.java index 9fc5b15fb64..e2524b62070 100644 --- a/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/discovery/FreeboxOsDiscoveryService.java +++ b/bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/discovery/FreeboxOsDiscoveryService.java @@ -236,7 +236,7 @@ public class FreeboxOsDiscoveryService extends AbstractThingHandlerDiscoveryServ DiscoveryResult discoveryResult = DiscoveryResultBuilder.create(thingUID).withBridge(bridgeUID) .withRepresentationProperty(Thing.PROPERTY_MAC_ADDRESS).withLabel(config.modelInfo().prettyName()) - .withProperty(Thing.PROPERTY_MAC_ADDRESS, config.mac()).build(); + .withProperty(Thing.PROPERTY_MAC_ADDRESS, config.mac().toColonDelimitedString()).build(); thingDiscovered(discoveryResult); } catch (PermissionException e) { logger.warn("Missing permission to discover Server {}", e.getPermission());