From 79f498ba884e50532f1d0793881cd112f32a00c8 Mon Sep 17 00:00:00 2001 From: Kai Kreuzer Date: Thu, 25 Feb 2021 19:17:39 +0100 Subject: [PATCH] [bluetooth] Adapt labels of discovery results to standard (#10209) Signed-off-by: Kai Kreuzer --- .../discovery/internal/BluetoothDiscoveryService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/discovery/internal/BluetoothDiscoveryService.java b/bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/discovery/internal/BluetoothDiscoveryService.java index af31f910b25e9..efe8ae3702821 100644 --- a/bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/discovery/internal/BluetoothDiscoveryService.java +++ b/bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/discovery/internal/BluetoothDiscoveryService.java @@ -155,10 +155,6 @@ private static ThingUID createThingUIDWithBridge(DiscoveryResult result, Bluetoo private static DiscoveryResult copyWithNewBridge(DiscoveryResult result, BluetoothAdapter adapter) { String label = result.getLabel(); - String adapterLabel = adapter.getLabel(); - if (adapterLabel != null) { - label = adapterLabel + " - " + label; - } return DiscoveryResultBuilder.create(createThingUIDWithBridge(result, adapter))// .withBridge(adapter.getUID())//