Mark entity ID as optional for button card (#7967)

This commit is contained in:
Philip Allgaier 2020-12-29 23:02:47 +01:00 committed by GitHub
parent 4635b92e3f
commit 1810760dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ export class HuiButtonCardEditor extends LitElement
.label="${this.hass.localize(
"ui.panel.lovelace.editor.card.generic.entity"
)} (${this.hass.localize(
"ui.panel.lovelace.editor.card.config.required"
"ui.panel.lovelace.editor.card.config.optional"
)})"
.hass=${this.hass}
.value=${this._entity}