diff --git a/src/panels/lovelace/editor/hui-element-editor.ts b/src/panels/lovelace/editor/hui-element-editor.ts index 2eadf82336..ad830ed7c8 100644 --- a/src/panels/lovelace/editor/hui-element-editor.ts +++ b/src/panels/lovelace/editor/hui-element-editor.ts @@ -234,7 +234,7 @@ export abstract class HuiElementEditor extends LitElement { .title=${this.hass.localize( "ui.errors.config.editor_not_supported" )} - .alertType=${"warning"} + alert-type="warning" > ${this._warnings!.length > 0 && this._warnings![0] !== undefined ? html`