- ${this._OSData?.board
- ? html`
+ ${this._OSData?.board
+ ? html`
+
${BOARD_NAMES[this._OSData.board] ||
@@ -94,35 +94,39 @@ class HaConfigHardware extends LitElement {
${this._OSData.board}
- `
- : ""}
-
-
- ${this._hostData.features.includes("reboot")
- ? html`
-
- ${this.hass.localize(
- "ui.panel.config.hardware.reboot_host"
- )}
-
- `
- : ""}
- ${this._hostData.features.includes("shutdown")
- ? html`
-
- ${this.hass.localize(
- "ui.panel.config.hardware.shutdown_host"
- )}
-
- `
- : ""}
-
+