diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index b023483ab9..e9423fb81a 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -564,7 +564,7 @@ class HUIRoot extends LitElement { super.firstUpdated(changedProps); // Check for requested edit mode const searchParams = extractSearchParamsObject(); - if (searchParams.edit === "1") { + if (searchParams.edit === "1" && this.hass!.user?.is_admin) { this.lovelace!.setEditMode(true); } else if (searchParams.conversation === "1") { this._showVoiceCommandDialog();