Fix bt dashboard

This commit is contained in:
Wendelin 2025-07-28 15:06:50 +02:00
parent bca812dbdb
commit 39171c95d9
No known key found for this signature in database

View File

@ -99,20 +99,20 @@ export class BluetoothConfigDashboard extends LitElement {
</p> </p>
</div> </div>
<div class="card-actions"> <div class="card-actions">
<a href="/config/bluetooth/advertisement-monitor" <ha-button
><ha-button> href="/config/bluetooth/advertisement-monitor"
${this.hass.localize( appearance="plain"
"ui.panel.config.bluetooth.advertisement_monitor"
)}
</ha-button></a
> >
<a href="/config/bluetooth/visualization" ${this.hass.localize(
><ha-button> "ui.panel.config.bluetooth.advertisement_monitor"
${this.hass.localize( )}
"ui.panel.config.bluetooth.visualization" </ha-button>
)} <ha-button
</ha-button></a href="/config/bluetooth/visualization"
appearance="plain"
> >
${this.hass.localize("ui.panel.config.bluetooth.visualization")}
</ha-button>
</div> </div>
</ha-card> </ha-card>
<ha-card <ha-card
@ -124,13 +124,14 @@ export class BluetoothConfigDashboard extends LitElement {
${this._renderConnectionAllocations()} ${this._renderConnectionAllocations()}
</div> </div>
<div class="card-actions"> <div class="card-actions">
<a href="/config/bluetooth/connection-monitor" <ha-button
><ha-button> href="/config/bluetooth/connection-monitor"
${this.hass.localize( appearance="plain"
"ui.panel.config.bluetooth.connection_monitor"
)}
</ha-button></a
> >
${this.hass.localize(
"ui.panel.config.bluetooth.connection_monitor"
)}
</ha-button>
</div> </div>
</ha-card> </ha-card>
</div> </div>
@ -217,7 +218,7 @@ export class BluetoothConfigDashboard extends LitElement {
} }
.card-actions { .card-actions {
display: flex; display: flex;
justify-content: space-between; justify-content: flex-end;
} }
`, `,
]; ];