Add label to ha-entity-picker (#3430)

This commit is contained in:
Paulus Schoutsen 2019-07-26 14:54:50 -07:00 committed by GitHub
parent 6abbe72e4d
commit a91bb3cdbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,7 @@ class HaEntityPicker extends LitElement {
${this.value ${this.value
? html` ? html`
<paper-icon-button <paper-icon-button
aria-label="Clear"
slot="suffix" slot="suffix"
class="clear-button" class="clear-button"
icon="hass:close" icon="hass:close"
@ -151,6 +152,7 @@ class HaEntityPicker extends LitElement {
${states.length > 0 ${states.length > 0
? html` ? html`
<paper-icon-button <paper-icon-button
aria-label="Show entities"
slot="suffix" slot="suffix"
class="toggle-button" class="toggle-button"
.icon=${this._opened ? "hass:menu-up" : "hass:menu-down"} .icon=${this._opened ? "hass:menu-up" : "hass:menu-down"}