mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[freeboxos] Fix macAddress property when discovering a server (#17082)
Fix #17071 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
6b216b3ea7
commit
487d4a95c2
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user