diff --git a/src/components/ha-file-upload.ts b/src/components/ha-file-upload.ts index e43b69a859..611ff357d5 100644 --- a/src/components/ha-file-upload.ts +++ b/src/components/ha-file-upload.ts @@ -84,15 +84,20 @@ export class HaFileUpload extends LitElement { ${this.value} ${this.value - ? html`` - : html` - .path=${this.icon} >`} + ? html` + + ` + : html` + + `} `}