From: Kai Kreuzer Date: Thu, 25 Feb 2021 18:17:39 +0000 (+0100) Subject: [bluetooth] Adapt labels of discovery results to standard (#10209) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=8928e8520c01c68fee66a1983b76c4396bf2d498;p=openhab-addons.git [bluetooth] Adapt labels of discovery results to standard (#10209) Signed-off-by: Kai Kreuzer --- 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 af31f910b2..efe8ae3702 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 @@ public class BluetoothDiscoveryService extends AbstractDiscoveryService implemen 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())//