mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Include addresses of Bluetooth devices in the connection slots tooltip (#23928)
This commit is contained in:
parent
a638cf443d
commit
c7d9699a24
@ -160,7 +160,9 @@ export class BluetoothConfigDashboard extends LitElement {
|
|||||||
"ui.panel.config.bluetooth.used_connection_slot_allocations"
|
"ui.panel.config.bluetooth.used_connection_slot_allocations"
|
||||||
)}
|
)}
|
||||||
.value=${this._getUsedAllocations(allocationsUsed, allocationsTotal)}
|
.value=${this._getUsedAllocations(allocationsUsed, allocationsTotal)}
|
||||||
.tooltip=${`${allocationsUsed}/${allocationsTotal}`}
|
.tooltip=${allocations.allocated.length > 0
|
||||||
|
? `${allocationsUsed}/${allocationsTotal} (${allocations.allocated.join(", ")})`
|
||||||
|
: `${allocationsUsed}/${allocationsTotal}`}
|
||||||
></ha-metric>
|
></ha-metric>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user