mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Replace button to manually add a Thread border router with more info button (#19903)
Replace button to manually add a border router with more info button
This commit is contained in:
parent
3b89b72568
commit
5b3074d939
@ -54,6 +54,7 @@ import { haStyle } from "../../../../../resources/styles";
|
||||
import { HomeAssistant } from "../../../../../types";
|
||||
import { brandsUrl } from "../../../../../util/brands-url";
|
||||
import { fileDownload } from "../../../../../util/file_download";
|
||||
import { documentationUrl } from "../../../../../util/documentation-url";
|
||||
|
||||
interface ThreadNetwork {
|
||||
name: string;
|
||||
@ -123,11 +124,16 @@ export class ThreadConfigPanel extends SubscribeMixin(LitElement) {
|
||||
)}
|
||||
</h3>
|
||||
<ha-svg-icon .path=${mdiDevices}></ha-svg-icon>
|
||||
<mwc-button @click=${this._addOTBR}
|
||||
>${this.hass.localize(
|
||||
"ui.panel.config.thread.add_open_thread_border_router"
|
||||
)}</mwc-button
|
||||
<a
|
||||
href=${documentationUrl(this.hass, `/integrations/thread`)}
|
||||
target="_blank"
|
||||
>
|
||||
<mwc-button
|
||||
>${this.hass.localize(
|
||||
"ui.panel.config.thread.more_info"
|
||||
)}</mwc-button
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</ha-card>`}
|
||||
${networks.networks.length
|
||||
|
@ -4127,6 +4127,7 @@
|
||||
"other_networks": "Other networks",
|
||||
"my_network": "Preferred network",
|
||||
"no_preferred_network": "You don't have a preferred network yet.",
|
||||
"more_info": "More Info",
|
||||
"add_open_thread_border_router": "Add an OpenThread border router",
|
||||
"reset_border_router": "Reset border router",
|
||||
"add_to_my_network": "Add to preferred network",
|
||||
|
Loading…
x
Reference in New Issue
Block a user