mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Matter tweaks (#19607)
This commit is contained in:
parent
7b3797502a
commit
69f2566526
@ -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>`
|
||||
)}
|
||||
|
@ -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}
|
||||
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user