Matter tweaks (#19607)

This commit is contained in:
Bram Kragten 2024-02-01 17:56:37 +01:00 committed by GitHub
parent 7b3797502a
commit 69f2566526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import "@material/mwc-button/mwc-button";
import { mdiClose } from "@mdi/js";
import { mdiDelete } from "@mdi/js";
import { CSSResultGroup, LitElement, css, html, nothing } from "lit";
import { customElement, property, state } from "lit/decorators";
import { fireEvent } from "../../../../../common/dom/fire_event";
@ -70,7 +70,7 @@ class DialogMatterManageFabrics extends LitElement {
@click=${this._removeFabric}
slot="meta"
.fabric=${fabric}
.path=${mdiClose}
.path=${mdiDelete}
></ha-icon-button>
</ha-list-item>`
)}

View File

@ -48,6 +48,11 @@ class DialogMatterOpenCommissioningWindow extends LitElement {
>
${this._commissionParams
? html`
<p>
${this.hass.localize(
"ui.panel.config.matter.open_commissioning_window.success"
)}
</p>
<div class="flex-container">
<ha-svg-icon
.path=${mdiCheckCircle}

View File

@ -4625,7 +4625,7 @@
"device_actions": {
"reinterview_device": "Re-interview device",
"ping_device": "Ping device",
"open_commissioning_window": "Enable commisisioning mode",
"open_commissioning_window": "Share device",
"manage_fabrics": "Manage fabrics",
"view_thread_network": "View Thread network"
},
@ -4657,11 +4657,12 @@
"ping_complete": "Ping device complete."
},
"open_commissioning_window": {
"title": "Enable commissioning mode",
"title": "Share device",
"introduction": "Enable commissioning mode on the device to pair it to another Matter controller.",
"start_commissioning": "Enable commissioning mode",
"start_commissioning": "Share device",
"in_progress": "We're communicating with the device. This may take some time.",
"failed": "The command failed. Additional information may be available in the logs.",
"success": "Your device can now be added to another Matter controller, scan the QR code below or enter the sharing code in the app of the controller you want to add your device to.",
"sharing_code": "Sharing code"
}
},