Update src/panels/lovelace/editor/hui-element-editor.ts

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
Zack Barett 2021-10-04 16:11:37 -05:00 committed by Zack Arnett
parent af1e86fe82
commit bfd6b97f51

View File

@ -234,7 +234,7 @@ export abstract class HuiElementEditor<T> 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`