mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Add label to ha-entity-picker (#3430)
This commit is contained in:
parent
6abbe72e4d
commit
a91bb3cdbb
@ -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"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user