+
+
+ ${this.hass.localize(
+ "ui.panel.profile.current_user",
+ "fullName",
+ this.hass.user!.name
+ )}
+ ${this.hass.user!.is_owner
+ ? this.hass.localize("ui.panel.profile.is_owner")
+ : ""}
+
+
+
+
+ ${this.hass.dockedSidebar !== "auto" || !this.narrow
+ ? html`
+
+ `
+ : ""}
+
+
+
+
+ ${this.hass.localize("ui.panel.profile.logout")}
+
+
+
+
+ ${this.hass.user!.credentials.some(
+ (cred) => cred.auth_provider_type === "homeassistant"
+ )
+ ? html`
+
+ `
+ : ""}
+
+
+
+ ${this.hass.user!.is_admin
+ ? html`
+
+ `
+ : ""}
+
+
+
+
+
+