From c7d9699a2426396e120e0c829fa5bd7cd548fc9b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 28 Jan 2025 20:21:34 -1000 Subject: [PATCH] Include addresses of Bluetooth devices in the connection slots tooltip (#23928) --- .../bluetooth/bluetooth-config-dashboard.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/panels/config/integrations/integration-panels/bluetooth/bluetooth-config-dashboard.ts b/src/panels/config/integrations/integration-panels/bluetooth/bluetooth-config-dashboard.ts index a09be536b4..281cab9695 100644 --- a/src/panels/config/integrations/integration-panels/bluetooth/bluetooth-config-dashboard.ts +++ b/src/panels/config/integrations/integration-panels/bluetooth/bluetooth-config-dashboard.ts @@ -160,7 +160,9 @@ export class BluetoothConfigDashboard extends LitElement { "ui.panel.config.bluetooth.used_connection_slot_allocations" )} .value=${this._getUsedAllocations(allocationsUsed, allocationsTotal)} - .tooltip=${`${allocationsUsed}/${allocationsTotal}`} + .tooltip=${allocations.allocated.length > 0 + ? `${allocationsUsed}/${allocationsTotal} (${allocations.allocated.join(", ")})` + : `${allocationsUsed}/${allocationsTotal}`} > `; }