Add kiosk settings

This commit is contained in:
2022-07-22 18:25:53 +00:00
parent c7ce90883b
commit 5f2e7d7bfa
9 changed files with 152 additions and 60 deletions

View File

@@ -89,8 +89,6 @@ export const loadHaForm = async () => {
// Loads in ha-config-dashboard which is used to copy styling
// Also provides ha-settings-row
export const loadDevTools = async () => {
if (customElements.get("ha-config-dashboard")) return;
await customElements.whenDefined("partial-panel-resolver");
const ppResolver = document.createElement("partial-panel-resolver");
const routes = (ppResolver as any).getRoutes([