Show all hardware button for supervised installs (#15617)

This commit is contained in:
Paul Bottein 2023-02-27 16:03:34 +01:00 committed by GitHub
parent f4848964c3
commit 868c414759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -278,7 +278,7 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
`
: ""}
<div class="content">
${boardName
${boardName || isComponentLoaded(this.hass, "hassio")
? html`
<ha-card outlined>
<div class="card-content">
@ -293,7 +293,9 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
: ""}
<span class="primary-text">
${boardName ||
this.hass.localize("ui.panel.config.hardware.board")}
this.hass.localize(
"ui.panel.config.hardware.generic_hardware"
)}
</span>
${boardId
? html`

View File

@ -1801,7 +1801,7 @@
"reboot_moved_link": "Go to system page.",
"processor": "Processor",
"memory": "Memory",
"board": "Board",
"generic_hardware": "Generic Hardware",
"documentation": "Documentation",
"configure": "Configure",
"documentation_description": "Find extra information about your device",