Keep formatted attribute name in attribute selector (#13413)

This commit is contained in:
Franck Nijhof
2022-08-19 15:44:42 +02:00
committed by GitHub
parent 57fdea19fd
commit 38fd6108b4

View File

@@ -58,7 +58,7 @@ class HaEntityAttributePicker extends LitElement {
return html`
<ha-combo-box
.hass=${this.hass}
.value=${this.value || ""}
.value=${this.value ? formatAttributeName(this.value) : ""}
.autofocus=${this.autofocus}
.label=${this.label ??
this.hass.localize(