Update dependency prettier to v3 (#17215)

* Update dependency prettier to v3

* Update config and remove .prettierignore

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2023-07-14 17:40:17 +00:00
committed by GitHub
parent 9bf76a07b8
commit cb0bc762b1
127 changed files with 1842 additions and 1820 deletions

View File

@@ -48,26 +48,25 @@ class StepFlowCreateEntry extends LitElement {
</p>
<div class="devices">
${this.devices.map(
(device) =>
html`
<div class="device">
<div>
<b>${computeDeviceName(device, this.hass)}</b><br />
${!device.model && !device.manufacturer
? html`&nbsp;`
: html`${device.model}
${device.manufacturer
? html`(${device.manufacturer})`
: ""}`}
</div>
<ha-area-picker
.hass=${this.hass}
.device=${device.id}
.value=${device.area_id ?? undefined}
@value-changed=${this._areaPicked}
></ha-area-picker>
(device) => html`
<div class="device">
<div>
<b>${computeDeviceName(device, this.hass)}</b><br />
${!device.model && !device.manufacturer
? html`&nbsp;`
: html`${device.model}
${device.manufacturer
? html`(${device.manufacturer})`
: ""}`}
</div>
`
<ha-area-picker
.hass=${this.hass}
.device=${device.id}
.value=${device.area_id ?? undefined}
@value-changed=${this._areaPicked}
></ha-area-picker>
</div>
`
)}
</div>
`}