mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 11:30:01 +00:00
Update lint tools (#2576)
* Update lint * Prettier Hass.io * Update prettier
This commit is contained in:
@@ -32,19 +32,17 @@ export class HuiEntityEditor extends LitElement {
|
||||
${this.renderStyle()}
|
||||
<h3>Entities</h3>
|
||||
<div class="entities">
|
||||
${
|
||||
this.entities.map((entityConf, index) => {
|
||||
return html`
|
||||
<ha-entity-picker
|
||||
.hass="${this.hass}"
|
||||
.value="${entityConf.entity}"
|
||||
.index="${index}"
|
||||
@change="${this._valueChanged}"
|
||||
allow-custom-entity
|
||||
></ha-entity-picker>
|
||||
`;
|
||||
})
|
||||
}
|
||||
${this.entities.map((entityConf, index) => {
|
||||
return html`
|
||||
<ha-entity-picker
|
||||
.hass="${this.hass}"
|
||||
.value="${entityConf.entity}"
|
||||
.index="${index}"
|
||||
@change="${this._valueChanged}"
|
||||
allow-custom-entity
|
||||
></ha-entity-picker>
|
||||
`;
|
||||
})}
|
||||
<ha-entity-picker
|
||||
.hass="${this.hass}"
|
||||
@change="${this._addEntity}"
|
||||
|
||||
Reference in New Issue
Block a user