- ${!hasThemes
+
+ ${!hasThemes &&
+ !(this.storageLocation === "user" && this.hass.browserThemeEnabled)
? this.hass.localize("ui.panel.profile.themes.error_no_theme")
: ""}
-
- ${this.hass.localize("ui.panel.profile.themes.link_promo")}
-
+ ${this.storageLocation === "user" && this.hass.browserThemeEnabled
+ ? html`
+ ${this.hass.localize(
+ "ui.panel.profile.themes.device.user_theme_info"
+ )}`
+ : html`
+ ${this.hass.localize("ui.panel.profile.themes.link_promo")}
+ `}
-
+
${this.hass.localize("ui.panel.profile.themes.use_default")}
-
-
+
+
Home Assistant
-
+
${this._themeNames.map(
(theme) => html`
- ${theme}
+ ${theme}
`
)}
@@ -90,7 +112,7 @@ export class HaPickThemeRow extends LitElement {
this.hass.themes.default_dark_theme &&
this.hass.themes.default_theme) ||
this._supportsModeSelection(curTheme)
- ? html`