diff --git a/bundles/org.openhab.binding.bluetooth.bluez/src/main/java/org/openhab/binding/bluetooth/bluez/internal/BlueZBluetoothDevice.java b/bundles/org.openhab.binding.bluetooth.bluez/src/main/java/org/openhab/binding/bluetooth/bluez/internal/BlueZBluetoothDevice.java index 9258e620ca2..d2e66189314 100644 --- a/bundles/org.openhab.binding.bluetooth.bluez/src/main/java/org/openhab/binding/bluetooth/bluez/internal/BlueZBluetoothDevice.java +++ b/bundles/org.openhab.binding.bluetooth.bluez/src/main/java/org/openhab/binding/bluetooth/bluez/internal/BlueZBluetoothDevice.java @@ -220,7 +220,7 @@ public class BlueZBluetoothDevice extends BaseBluetoothDevice implements BlueZEv } for (BluetoothGattService service : dev.getGattServices()) { for (BluetoothGattCharacteristic c : service.getGattCharacteristics()) { - if (c.getUuid().equalsIgnoreCase(uuid)) { + if (uuid.equalsIgnoreCase(c.getUuid())) { return c; } }