diff --git a/src/panels/lovelace/common/structs/handle-errors.ts b/src/panels/lovelace/common/structs/handle-errors.ts index 7205025fc6..b97ae217b1 100644 --- a/src/panels/lovelace/common/structs/handle-errors.ts +++ b/src/panels/lovelace/common/structs/handle-errors.ts @@ -8,7 +8,7 @@ export const handleStructError = (err: Error): string[] => { for (const failure of err.failures()) { if (failure.type === "never") { errors.push( - `Key "${failure.path[0]}" is not supported by the UI editor.` + `Key "${failure.path.join(".")}" is not supported by the UI editor.` ); } else { errors.push(