mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Add support for icon translations (#19406)
* Add support for icon translations * Use slot for icons * Update more-info-climate.ts * Review and fixes * Update entity-registry-settings-editor.ts
This commit is contained in:
@@ -224,7 +224,8 @@ export class HaTargetPicker extends LitElement {
|
||||
${entityState
|
||||
? html`<ha-state-icon
|
||||
class="mdc-chip__icon mdc-chip__icon--leading"
|
||||
.state=${entityState}
|
||||
.hass=${this.hass}
|
||||
.stateObj=${entityState}
|
||||
></ha-state-icon>`
|
||||
: ""}
|
||||
<span role="gridcell">
|
||||
|
||||
Reference in New Issue
Block a user