diff --git a/src/state/url-sync-mixin.ts b/src/state/url-sync-mixin.ts
index 1976a06a14..b7f44f89de 100644
--- a/src/state/url-sync-mixin.ts
+++ b/src/state/url-sync-mixin.ts
@@ -25,6 +25,9 @@ export const urlSyncMixin = <
public connectedCallback(): void {
super.connectedCallback();
+ if (history.length === 1) {
+ history.replaceState({ ...history.state, root: true }, "");
+ }
window.addEventListener("popstate", this._popstateChangeListener);
this.addEventListener("dialog-closed", this._dialogClosedListener);
}
diff --git a/src/translations/en.json b/src/translations/en.json
index 3315f926f1..e187f9656d 100755
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -823,6 +823,14 @@
"key_not_expected": "Key \"{key}\" is not expected or not supported by the visual editor.",
"key_wrong_type": "The provided value for \"{key}\" is not supported by the visual editor. We support ({type_correct}) but received ({type_wrong}).",
"no_template_editor_support": "Templates not supported in visual editor"
+ },
+ "supervisor": {
+ "title": "Could not load the Supervisor panel!",
+ "wait": "If you just started, make sure you have given the Supervisor enough time to start.",
+ "ask": "Ask for help",
+ "reboot": "Try a reboot of the host",
+ "observer": "Check the Observer",
+ "system_health": "Check System Health"
}
},
"login-form": {
@@ -3521,17 +3529,6 @@
"complete_access": "It will have access to all data in Home Assistant.",
"hide_message": "Check docs for the panel_custom component to hide this message"
}
- },
- "error": {
- "go_back": "Go back",
- "supervisor": {
- "title": "Could not load the Supervisor panel!",
- "wait": "If you just started, make sure you have given the supervisor enough time to start.",
- "ask": "Ask for help",
- "reboot": "Try a reboot of the host",
- "observer": "Check the Observer",
- "system_health": "Check System Health"
- }
}
}
},