Ignore prettier styling for tooltip of disk life time (#18097)

This commit is contained in:
Bram Kragten 2023-10-02 21:23:13 +02:00 committed by GitHub
parent 2030feabf7
commit 6acbf6395c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,16 +110,14 @@ class HaConfigSectionStorage extends LitElement {
></ha-metric>
${this._hostInfo.disk_life_time !== "" &&
this._hostInfo.disk_life_time >= 10
? html`
? // prettier-ignore
html`
<ha-metric
.heading=${this.hass.localize(
"ui.panel.config.storage.emmc_lifetime_used"
)}
.value=${this._hostInfo.disk_life_time}
.tooltip=${`${
this._hostInfo.disk_life_time - 10
} % -
${this._hostInfo.disk_life_time} %`}
.tooltip=${`${this._hostInfo.disk_life_time - 10}% - ${this._hostInfo.disk_life_time}%`}
class="emmc"
></ha-metric>
`