diff --git a/hassio/src/components/supervisor-metric.ts b/hassio/src/components/supervisor-metric.ts index 116b137e0f..25eabcdf60 100644 --- a/hassio/src/components/supervisor-metric.ts +++ b/hassio/src/components/supervisor-metric.ts @@ -28,7 +28,7 @@ class SupervisorMetric extends LitElement {
- ${roundedValue}% + ${roundedValue} % - ${this.supervisor.host.disk_life_time - 10}% - - ${this.supervisor.host.disk_life_time}% + ${this.supervisor.host.disk_life_time - 10} % - + ${this.supervisor.host.disk_life_time} % ` : ""} diff --git a/src/components/ha-climate-state.ts b/src/components/ha-climate-state.ts index 9b46f6cdb8..19a8bc0b68 100644 --- a/src/components/ha-climate-state.ts +++ b/src/components/ha-climate-state.ts @@ -101,7 +101,7 @@ class HaClimateState extends LitElement { )}-${formatNumber( this.stateObj.attributes.target_humidity_high, this.hass!.language - )}%`; + )} %`; } if (this.stateObj.attributes.humidity != null) { diff --git a/src/dialogs/more-info/controls/more-info-vacuum.ts b/src/dialogs/more-info/controls/more-info-vacuum.ts index 1e862c474a..945f0d75e4 100644 --- a/src/dialogs/more-info/controls/more-info-vacuum.ts +++ b/src/dialogs/more-info/controls/more-info-vacuum.ts @@ -123,7 +123,7 @@ class MoreInfoVacuum extends LitElement {
- ${stateObj.attributes.battery_level}% + ${stateObj.attributes.battery_level} %
` diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index aa988682a3..3d7129e354 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -226,7 +226,7 @@ export class HaConfigDevicePage extends LitElement { batteryState ? html`
- ${batteryIsBinary ? "" : batteryState.state + "%"} + ${batteryIsBinary ? "" : batteryState.state + " %"} { const battery = batteryEntityPair && batteryEntityPair[0] @@ -298,7 +298,7 @@ export class HaConfigDeviceDashboard extends LitElement { battery && computeStateDomain(battery) === "binary_sensor"; return battery && (batteryIsBinary || !isNaN(battery.state as any)) ? html` - ${batteryIsBinary ? "" : battery.state + "%"} + ${batteryIsBinary ? "" : battery.state + " %"} ` diff --git a/src/panels/lovelace/entity-rows/hui-humidifier-entity-row.ts b/src/panels/lovelace/entity-rows/hui-humidifier-entity-row.ts index 7a2e1a12b6..f9e54b8b04 100644 --- a/src/panels/lovelace/entity-rows/hui-humidifier-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-humidifier-entity-row.ts @@ -52,7 +52,7 @@ class HuiHumidifierEntityRow extends LitElement implements LovelaceRow { .config=${this._config} .secondaryText=${stateObj.attributes.humidity ? `${this.hass!.localize("ui.card.humidifier.humidity")}: - ${stateObj.attributes.humidity}%${ + ${stateObj.attributes.humidity} %${ stateObj.attributes.mode ? ` (${ this.hass!.localize(